Task: Program Execution
Input (English): G 3445 2997 c 1787 8931 5863 V Q 6171 4849 7843 4879 S 7831 f p 5131 L 6707 y J 9689 X 5683
Output (English): 7, 3445, 2997, 3, 1787, 8931, 5863, 22, 17, 6171, 4849, 7843, 4879, 19, 7831, 6, 16, 5131, 12, 6707, 25, 10, 9689, 24, 5683