V=input().split() flag=1 for i in V: if len(i)!=1: flag=0; break print("Yes" if flag else "No")