Naughty and Balls

Problem Name:
Naughty and Balls
Site:Spoj
Links:
Tags:
Problem setters: