Pregunta de entrevista de Jane Street

Basic logic and statistic question.