x=int(input()) if x%90 == 0 and x%180 != 0: print("Yes") else: print("No")