puts (0..gets.to_i-1).map{lambda{|i| [(i%8==0 ? 'iki' : '') + (i%10==0 ? 'sugi' : ''),(i/3).to_s].reject(&:empty?)[0]}.call(gets.to_i)}.join("\n")