#define _GLIBCXX_DEBUG #include using namespace std; int main() { int N; cin >> N; if(N%360 == 90 or N%360 == 270) cout << "Yes" << endl; else cout << "No" << endl; }