Task: Program Execution
Input (English): 5031 8181 8873 S y 8737 i 4863 Q R 5809 f D G s o m U 9743 a 8585 1847 6935 v r 4727 N B 6691 B r C 4697 z W d 8879 l D 5283
Output (English): 1, 2, 3, 6, 8, 11, 19, 21, 22, 23, 26, 29, 33, 37, 40