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