Rosetta Problems

Simple Permutation Problem

https://doj.kr/ko/problems/679