#include using namespace std; using Lint=long long; int main() { int X; cin>>X; if(X==0 or X==4 or X==10) cout<<"Yes"<