#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int ar[20];
  int s = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> ar[i];
    s += ar[i];
  }
  if (s % 360 == 0) {
    cout << "YES" << endl;
    return 0;
  }
  if (s % 2 == 1) {
    cout << "NO" << endl;
    return 0;
  }
  s = s / 2;
  int ans = 0;
  int lmt = 1 << n;
  for (int i = 0; i < lmt; i++) {
    ans = 0;
    for (int j = 0; j < n; j++) {
      if (i & (1 << j))
        ans += ar[j];
      else
        ans -= ar[j];
    }
    if (ans % 360 == 0) {
      cout << "YES" << endl;
      return 0;
    }
  }
  cout << "NO" << endl;
  return 0;
}
