Task: Program Execution
Input (English): 4, 8, ['6713', '3511', '1433', '2153', '1193', '3443', 'H', 'R', '8487', '4767']
Output (English): RH344339113512