#N = input()
N = int(input())
#s = input().split()
#hw = [[int(i) for i in input().split()] for _ in range(N)]
#N, M = map(int, input().split())
#A = list(map(int, input().split()))

if (10 <= N <= 99):
    print("Yes")
else:
    print("No")