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