for _ in 1..gets.to_i x=gets.to_i y=x%8<1?"iki":"" y+=x%10<1?"sugi":"" puts y>""?y:(x/3).to_s end