Task: Program Execution
Input (English): 5, 15, ['X', 't', 't', 'P', 'K', 'r', 'j', 'F', 't', 'g', '1949', '8699', '2053', '2549', 'J', '6399', '9263', '5425', 'Q']
Output (English): J, 2549, 2053, 8699, 1949, g, t, F, j, r, K