#include #define int long long #define double long double using namespace std; const int MOD = 1000000007; const int INF = 1e14; using Graph = vector>; signed main(){ int N; cin >> N; if( N%180 == 90 ) cout << "Yes" << endl; else cout << "No" << endl; }