New Year Domino

Problem Name:
New Year Domino
Site:CodeForces
Links:
Tags:
Problem setters: