Task: Program Execution
Input (English): 5077, W, U, 9709, 6853, p, 9889, S, K, I, 2273
Output (English): 2, 3, 6, 8, 9, 10