Shocking Arrangement

Problem Name:
Shocking Arrangement
Site:CodeForces
Links:
Tags:
Problem setters: