Task: Program Execution
Input (English): P 139 r 1007 H 1431 j 7301 g 4601 n 433 8703 1249 9255 3273 5811 1137 7849 W h 6863 5989 9751 943 j 1791 z 833 T 7533 3361 6493 9173
Output (English): 1, 3, 5, 7, 9, 11, 20, 21, 26, 28, 30