n = gets.to_i onemu = [nil, 0, 2, 0, 0, 0, 0, 7, 0, 0, 10] sleep(0.1*n) puts [nil,7,8,9,4,5,6,1,2,3,10][n]