Gear Wheels

Problem Name:
Gear Wheels
Site:CodeForces
Links:
Tags: