Tenka1 Programmer Contestが開始されました。
Tenka1 Programmer Contestは終了しました。
入力の最初の整数は与えられる整数の個数を表し、並び変える整数たちの一部ではないことに注意してください。 Please aware that the first integer given in input represents the number of integers given and not the part of the integers to be aligned.
Is it rated?
Yes.