Task: Program Execution
Input (English): 3801 E v s 4891 2037 v 349 2303 M E 7573 m z 8473 T 5805 n 157 5323 x 9715 R 3389 t 4483 9599 729 1077 5419 i
Output (English): 3801, 5, 22, 19, 4891, 2037, 22, 349, 2303, 13, 5, 7573, 13, 26, 8473, 20, 5805, 14, 157, 5323, 24, 9715, 18, 3389, 20, 4483, 9599, 729, 1077, 5419, 9