Permutation Weight (Easy Version)

Problem Name:
Permutation Weight (Easy Version)
Site:CodeForces
Links:
Tags:
Problem setters: