#include using namespace std; int main(){ int n; cin>>n; n %= 360; if(n==90||n==270) cout<<"Yes\n"; else cout<<"No\n"; }