Codeforces Div2 F. Mars rover

NoSuchKey