Task: Program Execution
Input (English): H 1627 1961 G 1433 289 919 2247 G 9097 5431 H 3173 U f 5763 D 2143 4019 9831 U o 663 6053 443 4939 2205 I w 9141 m I 5659 4703
Output (English): 1, 4, 9, 12, 14, 15, 17, 21, 22, 28, 29, 31, 32