#include <bits/stdc++.h>
using namespace std;
int main(void){
int A,B,C,D,E,F;
  A=0;
  cin >>A;
  B=0;
  C=9;
  D=0;
  E=0;
  F=0;
char Y,e,s,N,o;
  Y='Y';
  e='e';
  s='s';
  N='N';
  o='o';
for(int i=1;i<10;i++){
  D+E;
 if(i=1){
 cout <<Y<<e<<s;
   continue;
 }
  if(i=4){
 cout <<Y<<e<<s;
    continue;
 }
 else if(i=5){
 cout <<Y<<e<<s;
   continue;
 }
 else if(i=6){
 cout <<Y<<e<<s;
   continue;
 }
 else if(i=7){
 cout <<Y<<e<<s;
   continue;
 }
 else if(i=8){
 cout <<Y<<e<<s;
   continue;
 }
 else if(i=9){
 cout <<Y<<e<<s;
   continue;
 }
 else{
  cout << N << o;
   continue;
 }
}
}