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