Task: Program Execution
Input (English): P 407 y 8201 4107 G 5251 r H 427 m 2257 2719 9113 l 4879 o 6173 9217 l 897 8379 D X B 4577 Z
Output (English): 16, 407, 25, 8201, 4107, 7, 5251, 18, 8, 427, 13, 2257, 2719, 9113, 12, 4879, 15, 6173, 9217, 12, 897, 8379, 4, 24, 2, 4577, 26