n = int(input()) ans = "No" if 9 < n < 100: ans = "Yes" print(ans)