Task: Program Execution
Input (English): R, 4065, 7571, g, A, 4991, l, K, 8799, U, P, b
Output (English): 2, 3, 6, 9