Task: Program Execution
Input (English): 5, 14, ['X', 'b', 'N', 'G', '9473', '6197', 'R', '2933', '5279', '2585', '6725', 't', 'o', 'Q', '4737', '5313', '3035', 'p']
Output (English): Q, o, t, 6725, 2585, 5279, 2933, R, 6197, 9473