X = int(input()) if (X/2).is_integer() and X != 2: print("Yes") else: print("No")