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