Task: Program Execution
Input (English): S p 9727 1827 h O U A p 9055 9731 N U 5985 z 5631 o 9887 J 8307 5279 6403 h l g 7757 r s J 6357 c 3811 7099
Output (English): 1, 2, 5, 6, 7, 8, 9, 12, 13, 15, 17, 19, 23, 24, 25, 27, 28, 29, 31