Three Chairs

Problem Name:
Three Chairs
Site:CodeForces
Links:
Tags:
Problem setters: