st = list(map(ord,list(input()))) if set([32]) == set(st[1::2]) and 96 < min(st[::2]) and max(st[::2]) < 123: print("Yes") else: print("No")