Mancunian and Twin Permutations

Problem Name:
Mancunian and Twin Permutations
Site:HackerEarth
Links:
Tags:
Problem setters: