Codeforces 1296C Yet Another Walking Robot

NoSuchKey