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 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 mut sum = 0; let mut i = 1; while i * i <= n { if n % i == 0 { sum += i; sum += n / i; } i += 1; } if sum == n * 2 { println!("Kanzensu!"); } else { println!("{}", n); } } } }