Task: Program Execution
Input (English): M S 2727 s L W 4447 8373 k V 8613 1291 i g n y 4731 2289 7797 7041 U 2731 4443 7047 9861 5637 7675 K 4849 A 3435 8129 6881 9969 g 1931
Output (English): 13, 19, 2727, 19, 12, 23, 4447, 8373, 11, 22, 8613, 1291, 9, 7, 14, 25, 4731, 2289, 7797, 7041, 21, 2731, 4443, 7047, 9861, 5637, 7675, 11, 4849, 1, 3435, 8129, 6881, 9969, 7, 1931