#include <bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; cout<<((x==0||x==4||x==10)?"Yes":"No")<<endl; }