Balancing the Stone

Problem Name:
Balancing the Stone
Site:Spoj
Links:
Tags:
Problem setters: