#include using namespace std; const string YES="Yes"; const string NO="No"; int main(){ int n; cin>>n; if(n%400==0){//西暦年が400で割り切れる年はうるう年 cout<