Task: Program Execution
Input (English): 3, 5, ['3481', 'D', 'm', '4409', '4285', 'C', '5103', '2061', 'O', '8185', '5597', '8265', '9581', '2717', 'J', 'G', '6595', 'x', '1541']
Output (English): m, 2061, 9581, x