Task: Program Execution
Input (English): 3175, N, 4151, a, 6857, n, 6045, 5389, Z, 8893, 783, X, v, T, 1803, 1329, 7643, 2145, 737
Output (English): 3175, 4151, 6857, 6045, 5389, 8893, 783, 1803, 1329, 7643, 2145, 737