Task: Program Execution
Input (English): 3, 4, ['H', 'a', '3787', 'L', '4677', '2729', 'p']
Output (English): L3787