#include <bits/stdc++.h>
using namespace std;
long long int check(long long int i, long long int sum,
                    vector<long long int> v) {
  long long int x;
  if (i == v.size()) {
    if (sum % 360)
      return 0;
    else
      return 1;
  }
  x = check(i + 1, sum + v[i], v) || check(i + 1, sum - v[i], v);
  return x;
}
void solve() {
  long long int n, ans;
  cin >> n;
  vector<long long int> v(n);
  for (long long int i = 0; i < n; i += 1) cin >> v[i];
  ans = check(0, 0, v);
  if (ans)
    puts("YES");
  else
    puts("NO");
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  long long int t;
  t = 1;
  while (t--) {
    solve();
    cout << '\n';
  }
  return 0;
}
