Task: Program Execution
Input (English): z R Z l d q 3399 5141 i 6413 1743 7581 B U 2141 6595 X Y m m z N 3537 o k 8565 M X 8453 l 6553 p x I C R u 5987 C 6637
Output (English): 1, 2, 3, 4, 5, 6, 9, 13, 14, 17, 18, 19, 20, 21, 22, 24, 25, 27, 28, 30, 32, 33, 34, 35, 36, 37, 39