#include<bits/stdc++.h>
using namespace std;
int main()
{
long n;
while(cin>>n)
{
if(n%6!=0)
cout<<"N"<<"\n";
else
cout<<"Y"<<"\n";
}
return 0;
}
using namespace std;
int main()
{
long n;
while(cin>>n)
{
if(n%6!=0)
cout<<"N"<<"\n";
else
cout<<"Y"<<"\n";
}
return 0;
}
No comments:
Post a Comment