Task: Program Execution
Input (English): 5, 10, ['X', 'k', 'W', 'J', '9677', '7951', '7629', 'n', 'L', 'h', '7669', 'O', 'h', 'J', '4897', '2795', '2925', '7019', '5119', '7221', '5947']
Output (English): 9677, 7951, 7629, n, L, h