Task: Program Execution
Input (English): R, 5489, K, 811, 6617, 5029, 293, A, z, q, 9423, 517, 7241, 5349, G, d, 5685, F, z, 5123, n, 4569
Output (English): 2, 4, 5, 6, 7, 11, 12, 13, 14, 17, 20, 22