(define n (read)) (if (= (remainder n 4) 0) (if(= (remainder n 100) 0)(if(= (remainder n 400) 0)(print "Yes")(print "No"))(print "Yes"))(print "No") )