Codeforces Round #489 (Div. 2) C. Nastya and a Wardrobe (数学推公式)

NoSuchKey