#include <bits/stdc++.h>
using namespace std;
int n, a[20], st, tp, i;
int main() {
  cin >> n;
  for (i = 0; i < n; i++) cin >> a[i];
  for (st = 0; st < (1 << n); st++) {
    tp = 0;
    for (i = 0; i < n; i++) {
      if (st & (1 << i)) {
        tp += a[i];
        tp %= 360;
      } else {
        tp -= a[i];
        tp += 360;
        tp %= 360;
      }
    }
    if (tp == 0) {
      cout << "yes";
      return 0;
    }
  }
  cout << "no";
}
