a = int(input()) if 10 >= a or a <= 99: print('Yes') else: print('No')