Task: Program Execution
Input (English): 2955 s T 1409 M 9043 541 9853 r 3593 6335 m e p o j 7619 7759 1985 h u Q M 9115 b 689 S 461 9543 h k Q U A y
Output (English): 2955, 19, 20, 1409, 13, 9043, 541, 9853, 18, 3593, 6335, 13, 5, 16, 15, 10, 7619, 7759, 1985, 8, 21, 17, 13, 9115, 2, 689, 19, 461, 9543, 8, 11, 17, 21, 1, 25