AtCoder Beginner Contest 162 solution

NoSuchKey