import sys input=sys.stdin.readline N = input() if len(N) == 2: print("Yes") else: print("No")