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