Task: Program Execution
Input (English): G M s I 9035 i j j W 4593 2931 r 1435 E X W t E 8735 1911 5709 8029 981 9063 I t 9123 9549 K a
Output (English): 7, 13, 19, 9, 9035, 9, 10, 10, 23, 4593, 2931, 18, 1435, 5, 24, 23, 20, 5, 8735, 1911, 5709, 8029, 981, 9063, 9, 20, 9123, 9549, 11, 1