uses crt;
var n:longint;
begin
clrscr;
write('Nhap nam: '); readln(n);
if n mod 4=0 then write('Day la nam nhuan')
else write('Day khong phai nam nhuan');
readln
end.
#include <bits/stdc++.h>
using namespace std;
long long n;
int main()
{
cin>>n;
if (n%4==0 && n%100!=0) cout<<"La nam nhuan";
else if (n%400==0) cout<<"La nam nhuan";
else cout<<"Khong la nam nhuan";
return 0;
}