Task: Program Execution
Input (English): M 3517 4033 o G g Z m 7205 2313 E R 1993 4361 5417 a V V q G 7367 k X z 5321 b s A 4985 3789 T 5289 l 9545 6323 7027 X c s
Output (English): 13, 3517, 4033, 15, 7, 7, 26, 13, 7205, 2313, 5, 18, 1993, 4361, 5417, 1, 22, 22, 17, 7, 7367, 11, 24, 26, 5321, 2, 19, 1, 4985, 3789, 20, 5289, 12, 9545, 6323, 7027, 24, 3, 19