Task: Program Execution
Input (English): 6, 10, ['g', '6957', 'h', '8099', 'C', '5423', '2559', '1397', 'H', '4241']
Output (English): 542325591397H4241