Task: Program Execution
Input (English): b e A 7165 7353 x 2471 h s S 6171 3733 647 v G 5803 1199 9377 a 8509 6947 6479 8169 Q a 3881 8581 J B 7531
Output (English): 1, 2, 3, 6, 8, 9, 10, 14, 15, 19, 24, 25, 28, 29