n=int(input()) if n%4 ==2: print("Yes") else: print("No")