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