Parity Alternated Deletions

Problem Name:
Parity Alternated Deletions
Site:CodeForces
Links:
Tags:
Problem setters: