Task: Program Execution
Input (English): b 6587 v 261 1939 3449 5565 T 1977 S 6969 7513 A 7849 3121 p B 5269 v 915 X f r 5607 I 3855 723 9253 h r
Output (English): 1, 3, 8, 10, 13, 16, 17, 19, 21, 22, 23, 25, 29, 30