Task: Program Execution
Input (English): g, n, 1071, R, 9615, 1011, S, 1655, N, b, 7287, 2119, 3549, M, J, 3919, V, 4361, 6265, Z, 9711, 2989
Output (English): 1071, 9615, 1011, 1655, 7287, 2119, 3549, 3919, 4361, 6265, 9711, 2989