func_code_string: #include <bits/stdc++.h>   using namespace std;   const int MOD = 1e9 + 7;   const int INF = 1e9 + 5;   const long long LINF = LLONG_MAX;   int main() {     int t;     cin >> t;     while (t--) {       int n;       cin >> n;       if (360 % (180 - n) == 0)         cout <<  YES n ;       else         cout <<  NO n ;     }   }   