Task: Program Execution
Input (English): 5, 8, ['S', '4555', '7465', 'N', '3861', '2399', '323', '5459', 'o', 'Z']
Output (English): 3861, 2399, 323, 5459