import Foundation func isPrimeNumber(_ n:Int) -> Bool{ if n != 2 && n % 2 == 0{return false} var c = 3 while c <= 1 + Int(sqrt(Double(n))){ if n % c == 0{ return false }else{ c += 2 } } return true } func isRoot(_ n:Int,_ r:Int = 2) -> Bool{ let s = Int(pow(Double(n),1.0/Double(r))) if Int(pow(Double(s),Double(r))) != n{ return false } return true } var s = "" let n = Int(readLine()!)! if isPrimeNumber(n){ s = "Sosu!" }else if isRoot(n){ s = "Heihosu!" }else if isRoot(n, 3){ s = "Ripposu!" }else if n == 6 || n == 28{ s = "Kanzensu! " }else{ s = String(n) } print(s)