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