Task: Program Execution
Input (English): J, N, z, 9137, c, D, r, A, n, J, q, 5729, I, 9057, 5037, S, g
Output (English): 9137, 5729, 9057, 5037