s = input().split() if all(map(lambda x: len(x) == 1, s)): print('Yes') else: print('No')