Task: Program Execution
Input (English): 1, 4, ['m', '9859', '8187', 'P', 'Y']
Output (English): P, 8187, 9859, m