func_code_string: #include <bits/stdc++.h>   using namespace std;   template <typename T>   T gcd(T a, T b) {     if (a == 0) return b;     return gcd(b % a, a);   }   template <typename T>   T pow(T a, T b, long long m) {     T ans = 1;     while (b > 0) {       if (b % 2 == 1) ans = (ans * a) % m;       b /= 2;       a = (a * a) % m;     }     return ans % m;   }   bool sortbysec(const pair<int, int> &a, const pair<int, int> &b) {     return (a.second < b.second);   }   bool sortinrev(const pair<int, int> &a, const pair<int, int> &b) {     return (a.first > b.first);   }   int main() {     long long i, t, a;     cin >> t;     while (t--) {       cin >> a;       double z = abs(a - 180);       z = (double)360 / z;       if (floor(z) == ceil(z)) {         cout <<  YES ;       } else {         cout <<  NO ;       }       cout <<   n ;     }     return 0;   }   