Write a program to check whether the given number is palindrome or not.
OR
Write a program to print the leap years between 2000 and 3000.
(A century year is leap year only if it is divided by 400 and a non century year is leap year only if it is divided by 4).