#include using namespace std; void solve(int n) { int x = 90, y = 270; while(x < n) { x += 360; } if (x == n) { puts("Yes"); return; } while(y < n) { y += 360; } if (y == n) { puts("Yes"); return; } puts("NO"); } int main() { int n; cin >> n; solve(n); return 0; }