Task: Program Execution
Input (English): 7, 12, ['9161', 'r', 'Q', '3491', 'V', 's', '2211', '355', '245', '1351', 'x', '8079', '7419', 'O', 'V', 'h']
Output (English): 12241