s = list(input().rstrip()) for c in 'kyoprotenkei90': if c in s: s.remove(c) else: print('No') exit() print('Yes')