Task: Program Execution
Input (English): 8, 12, ['2363', '8031', 'i', '9499', '797', 'Z', 'a', '8467', '4887', 'n', '4553', 'X', '4881', 'L', 'C']
Output (English): 17907