Task: Program Execution
Input (English): 5007, j, 1123, 505, 1555, a, h, 5935, X, 7569, 5431, 5237, 9079, p, G, 653, 4417, 2291, 9643, U, 1755
Output (English): 1, 3, 4, 5, 8, 10, 11, 12, 13, 16, 17, 18, 19, 21