Task: Program Execution
Input (English): 2947 I 2257 1923 7261 5557 y 2199 2633 J 3309 2571 5211 x Y C 5053 C L 9821 3193 2131 C 3011 977 e v 5289 G
Output (English): 2947, 9, 2257, 1923, 7261, 5557, 25, 2199, 2633, 10, 3309, 2571, 5211, 24, 25, 3, 5053, 3, 12, 9821, 3193, 2131, 3, 3011, 977, 5, 22, 5289, 7