CQXYM Count Permutations

Problem Name:
CQXYM Count Permutations
Site:CodeForces
Links:
Tags:
Problem setters: