Task: Program Execution
Input (English): 4139, 1363, 165, C, 1345, U, V, L, D, R, 6145, P, f, 5671, 4455, S, j, 6331, 6759, q, V, 9749, 5151
Output (English): 4139, 1363, 165, 3, 1345, 21, 22, 12, 4, 18, 6145, 16, 6, 5671, 4455, 19, 10, 6331, 6759, 17, 22, 9749, 5151