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