N = int(input().strip()) if N % 4 == 0 and N != 4: print("Yes") else: print("No")