#include using namespace std; int main() { string ans[] = {"Yes", "Yes", "No", "Yes"}; long long n; cin >> n; cout << ans[n % 4] << endl; }