Task: Program Execution
Input (English): A, 1621, t, 7297, t, 845, 9889, i, i, h, U, 1173, I, p, 897, L, 2771, 7509, n, F, p
Output (English): 2, 4, 6, 7, 12, 15, 17, 18