Task: Program Execution
Input (English): 2, 3, ['H', '317', 'g']
Output (English): g317