Task: Program Execution
Input (English): 2, ['5155', 'O', '1115', 'p', 'P']
Output (English): 5155, O