s=input() t='kyoprotenkei90' if sorted(s) == sorted(t): print('Yes') else: print('No')