Task: Program Execution
Input (English): S 6727 1031 2245 D Q T 137 63 721 J 5841 1281 T T 7731 607 E 5595 9203 P 9929 5967 6477 829 2351 b 9007 5531 s 1625
Output (English): 1, 5, 6, 7, 11, 14, 15, 18, 21, 27, 30