Task: Program Execution
Input (English): 1, 6, ['1287', 'R', '5237', 'O', '9077', 'T', '6107']
Output (English): 1287R5237O9077T