Task: Program Execution
Input (English): h k 557 w 9469 m 1369 E 241 m 7171 5035 j 6405 7211 Q 9289 m 1605 2817 a 5379 709 8741 3593 d W d 8119 Y 4611 p 7021 2311 2521
Output (English): 1, 2, 4, 6, 8, 10, 13, 16, 18, 21, 26, 27, 28, 30, 32