Rosetta Problems

FILO Sort

https://atcoder.jp/contests/xmascontest2015/tasks/xmascontest2015_f