Codeforces #594 div 1 A/div 2 C - Ivan the Fool and the Probability Theory

NoSuchKey