#include #define rep(i,n) for(int i=0; i<(int)(n); i++) using namespace std; typedef long long LL; typedef pair P; int main(){ int N; cin >> N; if(N%90!=0) cout << "No" << endl; else if(N%180==0) cout << "No" << endl; else cout << "Yes" << endl; return 0; }