MODE = "stdio" tmp = Array.new if(defined? MODE) tmp = STDIN.read.split("\n") else iotmp = "\ 0 ".split("\n") iotmp.each{|s| tmp << s.strip } end N = tmp[0].to_i arr = ('A'..'Z').to_a a = N/arr.size b = N%arr.size puts arr[b]*(a+1)