Task: Program Execution
Input (English): u 1091 g Q 2495 6249 b 449 4121 8007 9189 773 u 7231 z t 577 v P 529 6905 295 2141 g o 9565 7999 4395 7165 z p
Output (English): 1, 3, 4, 7, 13, 15, 16, 18, 19, 24, 25, 30, 31