Task: Program Execution
Input (English): 3, 6, ['r', '8991', '6315', '9395', 'f', 'b', '665', '5315', 'S', '9503', 'L', '1787', '1765', '4579', 'N', '4987', 'Z', '5589', 'v', '321', '9691', 'Z', '4005', '1473']
Output (English): 6315, S, N, 9691