Codeforces851D Arpa and a list of numbers(素数筛)

NoSuchKey