import strutils let N=stdin.readLine.parseInt var isu=false if N mod 4==0: isu=true if N mod 100==0: isu=false if N mod 400==0: isu=true if isu: echo "Yes" else: echo "No"