Task: Program Execution
Input (English): 3, 6, ['5925', '4929', 'S', 'H', '1839', 'g', '9617', 'c', '1803', '2689', 'L', '1535', '2827', '6211', '5093', 'v']
Output (English): SH1839g