#include <bits/stdc++.h>
using namespace std;
bool result = false;
void make(int a[], int b[], int n, int begin, int end, int s) {
  if (begin > end) {
    int i, s1 = 0;
    for (i = 0; i < n; i++) {
      if (a[i] == 1) s1 = s1 + b[i];
    }
    if (abs(s1 - (s - s1)) % 360 == 0) {
      result = true;
      return;
    }
  } else {
    a[begin] = 1;
    make(a, b, n, begin + 1, end, s);
    a[begin] = 0;
    make(a, b, n, begin + 1, end, s);
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int a[20] = {0}, i, j, n, m, k = 0, b[20], s = 0;
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> b[i];
    s = s + b[i];
  }
  make(a, b, n, 0, n - 1, s);
  if (result == true)
    cout << "YES\n";
  else
    cout << "NO\n";
  return 0;
}
