N = int(input().strip()) print(['No', 'Yes'][len(str(N)) == 2])