#yuki1591 n=input() if len(n)==2: print('Yes') else: print('No')