Task: Program Execution
Input (English): 8781, 6091, 5475, 1511, J, X, r, 1565, 8575, t, b, w, j, 8221, 2389, v, 3667, v, P, 1263, 4325, 6505, R, 3083
Output (English): 8781, 6091, 5475, 1511, 1565, 8575, 8221, 2389, 3667, 1263, 4325, 6505, 3083