require 'prime' n = gets.to_i if n <= 0 p n; exit elsif n.prime? puts 'Sosu!' elsif [1,4,9,16,25,36,49,64].include?(n) puts 'Heihosu!' elsif [8,27,64].include?(n) puts 'Rippousu!' elsif [6,28].include?(n) puts 'Kanzensu!' else p n end