public static void Main()
string restart = "Insert Soviet National Anthem Here";
Console.WriteLine("Hello. Welcome to Comrade Albert's Leap Year Calculator.");
Console.WriteLine("For those of you diagnosed with smol brain, here is what a leap year is and why we have it.");
Console.WriteLine("A leap year is something that occurs every four years. This is due to the fact an actual year measures 365.2425 days, the exact amount of time it takes the Earth to revolved around the Sun.");
Console.WriteLine("Because no one in their right mind would have, for every year, 365.2425 days, every 4 years, there is an extra day to account for this discrepency.");
Console.WriteLine("This was initiated in the Julian Calendar, by Julius Caesar, which was later revised in 1582 by Pope Gregory XIII.");
Console.WriteLine("Press Enter to see the calculator.");
Console.WriteLine("Please enter a year that is between 1582 and 3000 to calculate if that year is a leap year or not.");
string input = Console.ReadLine();
if (uint.TryParse(input, out year))
if (year > 3000 || year < 1582)
Console.Write("Please input a valid number.");
Console.WriteLine(year + " is a common year.");
else if (year % 100 != 0)
Console.WriteLine(year + " is a leap year.");
else if (year % 400 != 0)
Console.WriteLine(year + " is a common year.");
Console.WriteLine(year + " is a leap year.");
Console.WriteLine("Your number is invalid.");
Console.WriteLine("Press q to quit, or any other key to continue.");
restart = Console.ReadLine();