Task: Program Execution
Input (English): K 3001 1905 H r 8387 Y y 6793 M 9877 O R 3625 M p h A 6013 s T 763 Q X 3685 y 621 v 7633 3305
Output (English): 11, 3001, 1905, 8, 18, 8387, 25, 25, 6793, 13, 9877, 15, 18, 3625, 13, 16, 8, 1, 6013, 19, 20, 763, 17, 24, 3685, 25, 621, 22, 7633, 3305