Task: Program Execution
Input (English): M, 7493, B, z, 2085, N, J, J, F, i, 8185, L, 7533, 3595, n, R, T, V, 7531, N, T, 505
Output (English): 7493, 2085, 8185, 7533, 3595, 7531, 505