Task: Program Execution
Input (English): v, 5663, 611, b, X, Y, v, B, A, 1571, 7675, z, 5705, 7721, W, 8899, a, B
Output (English): 1, 4, 5, 6, 7, 8, 9, 12, 15, 17, 18