Gabriel and Caterpillar

Problem Name:
Gabriel and Caterpillar
Site:CodeForces
Links:
Tags:
Problem setters: