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