S = sorted(input()) T = sorted('kyoprotenkei90') print('Yes' if S==T else 'No')