s="kyoprotenkei90" dec=dict() for i in s: if i not in dec:dec[i]=1 else:dec[i]+=1 # print("AA;",dec) ss=input() for j in ss: if j not in dec: # print("j:",j) print("No");exit() else: dec[j]-=1 # print("A:",dec[j],j) if dec[j]<0:print("No");exit() print("Yes")