Task: Program Execution
Input (English): 12, ['Q', '3219', '9893', '2973', '4057', 'p', 'N', 'D', 'L', 'k', 'u', '3347', '4707', '3635', 'A', 'm', 'h', '3785', '8749', 'J', 'B', '1995', 'i', 'z', 'D', '7839', 'N']
Output (English): 4707, 3635, A, m, h, 3785, 8749, J, B, 1995, i, z, D, 7839, N