Task: Program Execution
Input (English): 5873 i a h b 1107 3301 5959 v 293 6045 5241 n 1749 R 6361 7257 9889 9455 1813 B 8905 9449 i 6955 6123 507 5683 6417 4601 w H 251
Output (English): 2, 3, 4, 5, 9, 13, 15, 21, 24, 31, 32