n=int(input()) print(["No","Yes"][n==90 or n>90 and (n-90)%180==0])