Red-White Fence

Problem Name:
Red-White Fence
Site:CodeForces
Links:
Tags:
Problem setters: