Amazon Interview Question

Asking probability question. Completely unexpected