Task: Program Execution
Input (English): 4597, 2747, 8943, 3095, K, 7745, 3277, m, B, R, n, M, K, 6855, X, t, g
Output (English): 4597, 2747, 8943, 3095, 11, 7745, 3277, 13, 2, 18, 14, 13, 11, 6855, 24, 20, 7