Task: Program Execution
Input (English): p, nearest, n
Output (English): pnearestn