Task: Program Execution
Input (English): r 8827 w 711 O 8157 2885 a t f r P 6375 J S 1513 I 2293 9687 m r 427 Y 8809 2945 9949 5365 Z
Output (English): 18, 8827, 23, 711, 15, 8157, 2885, 1, 20, 6, 18, 16, 6375, 10, 19, 1513, 9, 2293, 9687, 13, 18, 427, 25, 8809, 2945, 9949, 5365, 26