Task: Program Execution
Input (English): 2, 5, ['Q', '8867', '4951', 'i', '2325', '7971', 'e', 'j', 'W', '7103']
Output (English): 16143