Pregunta de entrevista de 8 Blocks Capital

basic mental math and some probability