Task: Program Execution
Input (English): J, 3671, 6727, U, J, 1009, l, b, i, D, L, M, I
Output (English): 10, 3671, 6727, 21, 10, 1009, 12, 2, 9, 4, 12, 13, 9