#include using namespace std; int main() { long t,i,x; cin >> t; for(i=0; i> x; if(x==0 || x==45){ cout << "Y" << endl; }else{ cout << "N" << endl; } } return 0; }