Task: Program Execution
Input (English): M y 7675 1321 8967 2319 5495 H 5757 S 8963 7635 9243 J 5163 G 3495 3205 v 5385 6707 i 7933 7723 5423 8507 2583 X H Y
Output (English): 13, 25, 7675, 1321, 8967, 2319, 5495, 8, 5757, 19, 8963, 7635, 9243, 10, 5163, 7, 3495, 3205, 22, 5385, 6707, 9, 7933, 7723, 5423, 8507, 2583, 24, 8, 25