Task: Program Execution
Input (English): M 4059 s 7333 P 4427 v 6433 381 4747 I 9253 8043 W 3377 6541 w 6363 h X 3955 2277 1267 5341 205 Z e I g 9067 r O A u 3013 1507 z
Output (English): 13, 4059, 19, 7333, 16, 4427, 22, 6433, 381, 4747, 9, 9253, 8043, 23, 3377, 6541, 23, 6363, 8, 24, 3955, 2277, 1267, 5341, 205, 26, 5, 9, 7, 9067, 18, 15, 1, 21, 3013, 1507, 26