using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace lecture { class Program { static void Main(string[] args) { string X = Console.ReadLine(); int N = int.Parse(X); if ((N% 4 == 0) && (N % 100 != 0)) { Console.WriteLine("Yes"); } else if ((N % 100 == 0) && (N % 400 != 0)) { Console.WriteLine("No"); } else if (N % 400 == 0) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } } }