func_code_string: #include <bits/stdc++.h>   using namespace std;   double const eps = 1e-6;   double const pi = 3.1415926535;   long long const mod = 1e9 + 7;   int a[20];   int main() {     int n;     cin >> n;     for (int i = 0; i < n; i++) cin >> a[i];     for (int i = 0; i < (1 << n); i++) {       int x = 0;       for (int j = 0; j < n; j++) {         if (i & (1 << j))           x += a[j];         else           x -= a[j];       }       if (x % 360 == 0) {         cout <<  YES  << endl;         return 0;       }     }     cout <<  NO  << endl;     return 0;   }   