codeforces EC52 div2E. Side Transmutations(组合数学)

NoSuchKey