n = int(input()) if n % 4 == 0: print("NO") else: print("YES")