Task: Program Execution
Input (English): A, o, 1447, s, 3391, 3093, 4979, x, A
Output (English): 1, 15, 1447, 19, 3391, 3093, 4979, 24, 1