Intersection of Permutations

Problem Name:
Intersection of Permutations
Site:CodeForces
Links:
Tags:
Problem setters: