#include using namespace std; int main() { int n; cin >> n; bool ok = n % 180 != 0 && n % 90 == 0; cout << (ok? "Yes": "No") << '\n'; return 0; }