Task: Program Execution
Input (English): 2, 6, ['6827', '289', '8339', 'X', 'n', 'p']
Output (English): 2898339Xnp