Bear and Three Balls

Problem Name:
Bear and Three Balls
Site:CodeForces
Links:
Tags:
Problem setters: