Make Three Regions

Problem Name:
Make Three Regions
Site:CodeForces
Links:
Tags:
Problem setters: