Codeforces Round #562 (Div. 2) Increasing by Modulo

NoSuchKey