import java.util.*; class Main6{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); boolean flag = true; for(int i = 2; i < n; i++){ if(n%i==0){ flag = false; break; } } if(n == 0 || n == 1){ System.out.println(n); }else if(flag){ System.out.println("Sosu!"); }else{ if(Math.sqrt(n)%1.==0){ System.out.println("Heihosu!"); }else{ if(Math.cbrt(n)%1.0==0){ System.out.println("Ripposu!"); }else{ int sum = 0; for(int i = 1; i < n; i++){ if(n%i==0)sum+=i; } if(n==sum){ System.out.println("Kanzensu!"); }else{ System.out.println(n); } } } } } }