Task: Program Execution
Input (English): N 6605 7581 a M v l b q R e i a 4469 D H T 4561 2973 a H N 7097 7097 3427 6013 R R e 7571 P b L 6915 3541
Output (English): 14, 6605, 7581, 1, 13, 22, 12, 2, 17, 18, 5, 9, 1, 4469, 4, 8, 20, 4561, 2973, 1, 8, 14, 7097, 7097, 3427, 6013, 18, 18, 5, 7571, 16, 2, 12, 6915, 3541