#include<iostream.h>
#include<conio.h>
void lyear(int a);
void main()
{
clrscr();
int a;
cout<<"enter a no.";
cin>>a;
lyear(a);
getch();
}
void lyear(int a)
{
cout<<"\n\n";
if(a%100==0&&a%400==0||a%4==0)
{
cout<<a<<"is a leap year";
}
else
{
cout<<a<<"it is not a leap year";
}
}