require 'prime' n = gets.to_i if n <= 1 p n; exit elsif n.prime? puts 'Sosu!'; exit elsif Math::sqrt(n).to_i**2 == n puts 'Heihosu!'; exit elsif Math::sqrt(n).to_i**2 == n puts 'Rippousu!'; exit elsif n == 6 || n == 28 puts 'Kanzensu!' else p n end