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