C - Ivan the Fool and the Probability Theory---div2

NoSuchKey