Task: Program Execution
Input (English): B 9795 4489 o 1249 1645 c d 2391 l J 6753 C e k Y b 4981 K H a 1415 3621 4473 M 3451 535 G 8027 I 8653 r Q a 9955 g K
Output (English): 2, 9795, 4489, 15, 1249, 1645, 3, 4, 2391, 12, 10, 6753, 3, 5, 11, 25, 2, 4981, 11, 8, 1, 1415, 3621, 4473, 13, 3451, 535, 7, 8027, 9, 8653, 18, 17, 1, 9955, 7, 11