Two Regular Polygons

Problem Name:
Two Regular Polygons
Site:CodeForces
Links:
Tags:
Problem setters: