[Codeforces 914D] Bash and a Tough Math Puzzle

NoSuchKey