using System; class Program { static void Main() { int X = int.Parse(Console.ReadLine()); if(X == 0 || X == 4 || X == 10) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } }