Task: Program Execution
Input (English): 2, 3, ['Q', '8707', 'I', '799', 'i']
Output (English): I7078