Task: Program Execution
Input (English): 2, 3, ['r', 'g', '5681']
Output (English): g5681