Task: Program Execution
Input (English): 2, 5, ['6281', '8389', 'X', '2107', '4159', 'w', 'P', '3181']
Output (English): 4159, 2107, X, 8389