#1591 Two Digits n=str(int(input())) if len(n)==2: print('Yes') else: print('No')