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