Task: Program Execution
Input (English): g 6925 M h 4285 4071 203 4287 l 7063 5969 8937 b 6983 D p 7789 a 1355 K 4387 q E i Z Z X
Output (English): 7, 6925, 13, 8, 4285, 4071, 203, 4287, 12, 7063, 5969, 8937, 2, 6983, 4, 16, 7789, 1, 1355, 11, 4387, 17, 5, 9, 26, 26, 24