use std::io::*; fn main() { let mut s: String = String::new(); std::io::stdin().read_to_string(&mut s).ok(); let mut itr = s.trim().split_whitespace(); let mut n: usize = itr.next().unwrap().parse().unwrap(); let mut is_prime: Vec = vec![1; 300030]; is_prime[0] = 0; is_prime[1] = 0; for i in 2..65 {is_prime[i*i] = 2; is_prime[i*i*i] = 3; if is_prime[i] == 1 {let mut j = i * 2;while j <= n {if is_prime[j]==1{is_prime[j] = 0;}j += i;}}} match is_prime[n] { 1 => println!("Sosu!"), 2 => println!("Heihosu!"), 3 => println!("Ripposu!"), _ => { let m = n; let mut sum = 0; for i in 2..n { while n % i == 0 { sum += i; n /= i; } } if sum + 1 == m { println!("Kanzensu!"); } else { println!("{}", m); } } } }