#define _GLIBCXX_DEBUG #include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = s; i < (int)(n); i++) #define rep3(i, s, n) for (int i = s; i > (int)(n); i--) #define all(obj) obj.begin(), obj.end() #define from1(obj) obj.begin() + 1, obj.end() #define db(x) cerr << #x << ":" << x << " " #define dbl(x) cerr << #x << ":" << x << "\n" #define dbp(p) cerr << #p << ":(" << p.first << ", " << p.second << ") " #define dbpl(p) cerr << #p << ":(" << p.first << ", " << p.second << ")\n" #define dbt3(t3) cerr << #t3 << ":(" << get<0>(t3) << ", " << get<1>(t3) << ", " << get<2>(t3) << ") " #define dbt3l(t3) cerr << #t3 << ":(" << get<0>(t3) << ", " << get<1>(t3) << ", " << get<2>(t3) << ")\n" #define dbt4(t4) cerr << #t4 << ":(" << get<0>(t4) << ", " << get<1>(t4) << ", " << get<2>(t4) << ", " << get<3>(t4) << ") " #define dbt4l(t4) cerr << #t4 << ":(" << get<0>(t4) << ", " << get<1>(t4) << ", " << get<2>(t4) << ", " << get<3>(t4) << ")\n" #define dbv(vec) cerr << #vec << ":{ "; for (auto e : vec) cerr << e << ", "; cerr << "}\n" #define dbvv(vv) cerr << #vv << ":{\n"; for (auto vec : vv) { cerr << "{ "; for (auto e : vec) cerr << e << ", "; cerr << "}\n"; } cerr << "}\n" #define dbm(map) cerr << #map << ":{ "; for (auto p : map) cerr << "(" << p.first << ", " << p.second << "), "; cerr << "}\n" #define YN(f) cout << (f ? "YES" : "NO") << "\n" #define Yn(f) cout << (f ? "Yes" : "No") << "\n" #define yn(f) cout << (f ? "yes" : "no") << "\n" using ll = long long; using vi = vector; using vl = vector; using vs = vector; using vb = vector; using vvi = vector; using vvl = vector; using vvb = vector; using pii = pair; using pil = pair ; using pll = pair; using pli = pair; using vpii = vector; using vpll = vector; using ti3 = tuple; using tl3 = tuple; using ti4 = tuple; using tl4 = tuple; using mii = map; using mil = map; using mll = map; using mli = map; int main() { int T; cin >> T; rep(i, T) { int x; cin >> x; cout << (x == 45 ? 'Y' : 'N') << endl; } }