Task: Program Execution
Input (English): R, D, I, 2531, 7409, d, a, Z, 2501, h, t, u, 3141, w
Output (English): 18, 4, 9, 2531, 7409, 4, 1, 26, 2501, 8, 20, 21, 3141, 23