Task: Program Execution
Input (English): 4331 3187 2807 7929 8829 4561 G I C 4989 r B 4867 k l 4273 9801 3875 G 6877 H 1705 5397 2287 2507 d 7609 i 165 u 5367
Output (English): 4331, 3187, 2807, 7929, 8829, 4561, 7, 9, 3, 4989, 18, 2, 4867, 11, 12, 4273, 9801, 3875, 7, 6877, 8, 1705, 5397, 2287, 2507, 4, 7609, 9, 165, 21, 5367