AtCoder Beginner Contest 110 D - Factorization

NoSuchKey