from collections import Counter s=input() t='kyoprotenkei90' print('Yes' if Counter(s)==Counter(t) else 'No')