#include <iostream> using namespace std; int main() { int a = 0; cin >> a; if (a % 4 == 0) { cout << "YES"; } else { cout << "NO"; } return 0; }