#include using namespace std; using namespace chrono; #if __has_include() #include using namespace atcoder; #endif int main() { int64_t n; cin >> n; if (n % 90 != 0) { cout << "No" << endl; return 0; } cout << ((n / 90 % 2 == 1) ? "Yes" : "No") << endl; return 0; }