Task: Program Execution
Input (English): 85 3559 g G G 785 j r 4015 R 5939 B 7355 n 6247 4525 5557 5361 2401 W 1033 1001 Z 8739 f
Output (English): 85, 3559, 7, 7, 7, 785, 10, 18, 4015, 18, 5939, 2, 7355, 14, 6247, 4525, 5557, 5361, 2401, 23, 1033, 1001, 26, 8739, 6