Task: Program Execution
Input (English): K, R, k, 8775, k, 9177, 9823, d, G, 5921, j, T, d, 9429, 2301, 9711, 1987, q
Output (English): 1, 2, 3, 5, 8, 9, 11, 12, 13, 18