Counting Flags

Problem Name:
Counting Flags
Site:CodeForces
Links:
Tags: