Amazon interview question

Asking probability question. Completely unexpected