Task: Program Execution
Input (English): 3575, 3165, 8001, t, N, E, O, 2581, 3911, W
Output (English): t, N, E, O, W, 3575, 3165, 8001, 2581, 3911