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