Task: Program Execution
Input (English): l 1643 C r d G 8203 G 2723 w r o 7439 R 9061 g 5309 1923 x g l 6099 4467 g r 1859 i 4203 D e 2239 5633 301 C e 9915 q 8967 2439 h
Output (English): 12, 1643, 3, 18, 4, 7, 8203, 7, 2723, 23, 18, 15, 7439, 18, 9061, 7, 5309, 1923, 24, 7, 12, 6099, 4467, 7, 18, 1859, 9, 4203, 4, 5, 2239, 5633, 301, 3, 5, 9915, 17, 8967, 2439, 8