CF984 C. Finite or not?【数论/GCD】

NoSuchKey