Task: Program Execution
Input (English): q T Z 137 p 1983 6361 K k Q t b 3391 t J u d 9593 u 6843 4817 5997 M q s 4455 c 731 3277 B B
Output (English): 17, 20, 26, 137, 16, 1983, 6361, 11, 11, 17, 20, 2, 3391, 20, 10, 21, 4, 9593, 21, 6843, 4817, 5997, 13, 17, 19, 4455, 3, 731, 3277, 2, 2