Jane Street interview question

Questions involving coins.