Codeforces165 E. Compatible Numbers(Sosdp)

NoSuchKey