Task: Program Execution
Input (English): 3, 7, ['2943', 'L', 'x', 'w', '9581', '3781', '1437']
Output (English): 1437, 3781, 9581, w, x