Task: Program Execution
Input (English): 8515, 5747, O, n, 1471, s, n, Z, x, 247, 5947, 5949, 5087, S, 543, 2675, 3555, 7737, u
Output (English): 1, 2, 5, 10, 11, 12, 13, 15, 16, 17, 18