codeforces 1325 F. Ehab's Last Theorem

NoSuchKey