Codeforces 585D Lizard Era: Beginning

NoSuchKey