Task: Program Execution
Input (English): g j 323 4541 c Y H 9789 X 6039 9785 S 6637 5873 S 4351 L P e W N 2081 p p v M 9325 3637 1389
Output (English): 7, 10, 323, 4541, 3, 25, 8, 9789, 24, 6039, 9785, 19, 6637, 5873, 19, 4351, 12, 16, 5, 23, 14, 2081, 16, 16, 22, 13, 9325, 3637, 1389