#include using namespace std; int main(){ int n; cin>>n; bool ok=false; if((n%400==0)||(n%100!=0&&n%4==0))ok=true; puts(ok?"Yes":"No"); }