Task: Program Execution
Input (English): c j t I 6691 M w 7227 6913 c N 9301 6377 9497 4711 S 3827 2523 r 9081 3159 f g t m
Output (English): 3, 10, 20, 9, 6691, 13, 23, 7227, 6913, 3, 14, 9301, 6377, 9497, 4711, 19, 3827, 2523, 18, 9081, 3159, 6, 7, 20, 13