from collections import Counter S = input() x = 'kyoprotenkei90' print('Yes' if Counter(x)==Counter(S) else 'No')