Task: Program Execution
Input (English): 3795 5761 8301 889 4021 l 2835 1431 X 99 w 151 K x t M X V H 8813 g h P 6757 631 P 6283
Output (English): 1, 2, 3, 4, 5, 7, 8, 10, 12, 20, 24, 25, 27