#include using namespace std; bool is_uruu(int N){ if( N%4 ) return false; if( N%100)return true; if( N%400)return false; return true; } signed main() {int N; scanf("%d",&N); puts(is_uruu(N)?"Yes":"No"); }