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