Task: Program Execution
Input (English): 147 S h 9403 9199 973 t 9621 e M 7631 8551 S H 6097 683 3615 1943 4325 Z p 887 l 1073 4737 C 2421 2873 7663 S 2317 1649 5925 A 7221 f 1219
Output (English): 2, 3, 7, 9, 10, 13, 14, 20, 21, 23, 26, 30, 34, 36