local n = io.read("*n") local p = true local k = false for i = 2, n - 1 do if n % i == 0 then p = false break end end if 1 < n and p then print("Sosu!") k = true end p = false for i = 2, 7 do if i * i == n then p = true break end end if p then print("Heihosu!") k = true end p = false for i = 2, 3 do if i * i * i == n then p = true end end if p then print("Ripposu!") k = true end if n == 6 or n == 28 then print("Kanzensu!") k = true end if not k then print(n) end