S = input().split() result = "Yes" for i in range(len(S)): if len(S[i]) != 1: result = "No" print(result)