import strutils let n: int = stdin.readLine().parseInt() if n mod 4 == 0: if n mod 100 == 0: if n mod 400 == 0: echo "Yes" else: echo "No" else: echo "Yes" else: echo "No"