#include using namespace std; int main() { int N; cin >> N; if (N % 90 == 0 and N % 180 != 0) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }