Task: Program Execution
Input (English): E O 6849 8985 51 3567 713 4907 t 2663 5085 6833 M 6201 w 383 W u 1297 M W A 3189 v d
Output (English): 5, 15, 6849, 8985, 51, 3567, 713, 4907, 20, 2663, 5085, 6833, 13, 6201, 23, 383, 23, 21, 1297, 13, 23, 1, 3189, 22, 4