Task: Program Execution
Input (English): 1147, 4589, j, 4839, d, g, A, N, 4845, s, 6241, 8987, 5097, A, U, 1367, M, t, J, f, P, T, l, I
Output (English): 1147, 4589, 4839, 4845, 6241, 8987, 5097, 1367