Task: Program Execution
Input (English): w, 6841, W, t, R, 9445, 2165, D, U, G, 1245, J, r, z
Output (English): 1, 3, 4, 5, 8, 9, 10, 12, 13, 14