Task: Program Execution
Input (English): 1, 4, ['6961', 'x', '2863', '2587', 'd', '3339', '403', 'c', 'h', 'M', '6405', '5287', '9855']
Output (English): 2587, 2863, x, 6961