Clockwork

Problem Name:
Clockwork
Site:CodeForces
Links:
Tags: