Rosetta Problems

Sorted and Sorted

https://atcoder.jp/contests/arc097/tasks/arc097_c