Task: Program Execution
Input (English): 3039, r, 9019, K, g, 9689, 8805
Output (English): 1, 3, 6, 7