CodeForces 1009 D. Relatively Prime Graph(思维)

NoSuchKey