Task: Program Execution
Input (English): 4667, D, R, 6195, 1467, K, G, 5821
Output (English): 4667, 4, 18, 6195, 1467, 11, 7, 5821