Task: Program Execution
Input (English): 3271, K, 7799, 1199, 9639, 827, 2933, A, K, 3731, 3985, V, 6623, 1457
Output (English): 3271, 11, 7799, 1199, 9639, 827, 2933, 1, 11, 3731, 3985, 22, 6623, 1457