Task: Program Execution
Input (English): 2, 12, ['3231', '3021', '2543', '4623', 'D', 'P', '9209', '563', 'v', 'B', '3665', '7761', '8193', '3249', '7647', '9773', 'W', '8499', 'w', 'M', 'y', 'u', 'x', '9125', '8787']
Output (English): 3021, 3249