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