import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String ans = String.valueOf(n); int p = 0; int prime = 0; int sum = 1; if(n >= 2) { for(int i = 2; i < n; i++) { if((n % i) == 0) { prime++; sum += i; if((i * i) == n) p = 2; if((i * i * i) == n) p = 3; } } if(prime == 0) p = 1; if(sum == n) p = 4; if(p == 1) { ans = "Sosu!"; } else if(p == 2) { ans = "Heihosu!"; } else if(p == 3) { ans = "Ripposu!"; } else if(p == 4) { ans = "Kanzensu!"; } } System.out.println(ans); } }