Task: Program Execution
Input (English): 5, 15, ['3209', '1231', '8107', '8949', 'D', '9497', '9121', 'X', '665', 'I', '313', '361', 'i', 'F', 'L', 'B', 'L', '1311', '7105', 'y', '3879', 'C']
Output (English): L, F, i, 361, 313, I, 665, X, 9121, 9497, D