Check if the year is divisible by 4
If it is not divisible by 4, it is not a leap year
If it is divisible by 4, check if it is divisible by 100
If it is divisible by 100, it is not a leap year
If it is divisible by 100 and also divisible by 400, it is a leap year
If it is divisible by 4 but not divisible by 100, it is a leap year
