Task: Program Execution
Input (English): 8, 12, ['1311', '7475', 'z', '2059', '4723', '8411', 'l', '3957', '8289', '5577', 'C', '5991', '4773', '243', 'z', 'R', '5421']
Output (English): 23814