To check whether the given year is leap year or not