#include #include #include #include #include using namespace std; using ll=long long; const int INF=1e9; typedef pair P; int main() { int n; cin>>n; n%=180; if (n%90==0) cout<<"Yes"<