print('Yes' if len(str(abs(int(input())))) == 2 else 'No')