Task: Program Execution
Input (English): v V Z A 8983 y Y 6945 2897 1489 2209 E 9143 T n 1855 2715 9887 3137 8469 6705 3381 3247 2551 6333 X a 1939 y 7975 247 6529 2835 9785 6927 8265 945
Output (English): 5, 8, 9, 10, 11, 13, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 28, 30, 31, 32, 33, 34, 35, 36, 37