Task: Program Execution
Input (English): 2, 8, ['4643', '6705', '6219', '1631', 'B', 'q', '8553', '3933', '5825', 'O', 'j', '9861']
Output (English): 27041