Task: Program Execution
Input (English): 3, 8, ['G', '227', '5855', '481', 'h', '4901', 'c', '6701', '2029', '5277']
Output (English): 1076c1094h1845585