if (len(input())) == 2: print("Yes") else: print("No")