Task: Program Execution
Input (English): 5, 8, ['9125', '7019', 'D', '3639', '8745', 'r', '267', 'm', 'Y', 'h', 'n', '1299', 'P']
Output (English): 9012