print ["No","Yes"][input()%180==90]