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