Task: Program Execution
Input (English): 2, 3, ['3139', 'R', '1723', '1363', 'c', '9119', 'a', '6305', '1029']
Output (English): R1723