N = int(input()) print('Yes' if N > 9 and N < 100 else 'No')