N = int(input()) print("Yes" if len(str(N)) == 2 else "No")