Codeforces 284C Cows and Sequence(思维)

NoSuchKey