using static System.Math; using System; public class Hello { static void Main() { var n = int.Parse(Console.ReadLine().Trim()); getAns(n); } static void getAns(int n) { string ans; if (IsPrime(n)) ans = "Sosu!"; else if (n == 1 | n == 4 | n == 9 | n == 16 | n == 25 | n == 36 | n == 49) ans = "Heihosu!"; else if (n == 8 | n == 27) ans = "Ripposu!"; else if (n == 6 | n == 28) ans = "Kanzensu!"; else ans = n.ToString(); Console.WriteLine(ans); } static bool IsPrime(int n) { if (n < 2) return false; else if (n == 2) return true; else if (n % 2 == 0) return false; double sqrtNum = Sqrt(n); for (int i = 3; i <= sqrtNum; i += 2) if (n % i == 0) return false; return true; } }