Task: Program Execution
Input (English): h 5565 5723 d 4711 7173 s 9737 5627 5819 l 859 Y 3713 8567 M 1827 p 7101 6731 2125 H 1467 F x I e 3297 3899 F 3399 3063 S 8537
Output (English): 2, 3, 5, 6, 8, 9, 10, 12, 14, 15, 17, 19, 20, 21, 23, 28, 29, 31, 32, 34