Task: Program Execution
Input (English): G P G F 9237 2137 325 S b 2965 B u U L z 8141 A 3031 1831 h 705 6817 L 1223 813 p 4955 2443 4783 X 2215 Z 4275 J R 3843
Output (English): 7, 16, 7, 6, 9237, 2137, 325, 19, 2, 2965, 2, 21, 21, 12, 26, 8141, 1, 3031, 1831, 8, 705, 6817, 12, 1223, 813, 16, 4955, 2443, 4783, 24, 2215, 26, 4275, 10, 18, 3843