Task: Program Execution
Input (English): 2, 10, ['177', 'C', 'q', 'c', '203', '5341', 'd', 'v', 'x', '8609']
Output (English): 14153