n=int(input()) print("Yes"if n%180==90 else "No")