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