Task: Program Execution
Input (English): 9341, D, R, W, 4169, 7007, U, 8251, Z, 1155, o, 5111, 4901, z, 8383
Output (English): 2, 3, 4, 7, 9, 11, 14