Task: Program Execution
Input (English): 5, 7, ['G', 'W', '5119', '411', '6617', 'C', '503', '8599']
Output (English): 305C7166