using System; using System.Collections.Generic; using System.Linq; namespace yukicoder { public class Program { public static void Main() { var n = int.Parse(Console.ReadLine()); if (n % 400 == 0) { Console.WriteLine("Yes"); } else if (n % 100 == 0) { Console.WriteLine("No"); } else if (n % 4 == 0) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } } }