s = input().split() for i in s: if len(i) != 1: print("No") exit() print("Yes")