Fun with Integers CodeForces - 1062D

NoSuchKey