Finite or not?(CF-#483 DIV2-C)(数论——GCD)

NoSuchKey