Jane Street interview question

expected value and probability