Rosetta Problems

1は何番目?

https://atcoder.jp/contests/chokudai_S001/tasks/chokudai_S001_e