#include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define llong long long int main() { int n; cin >> n; if(n % 360 == 90 || n % 360 == 270) cout << "Yes\n"; else cout << "No\n"; }