Task: Program Execution
Input (English): X, J, H, 6191, k, 3997, x, h, Q, 1755, 589, 5101, 7659, 3499, G
Output (English): 24, 10, 8, 6191, 11, 3997, 24, 8, 17, 1755, 589, 5101, 7659, 3499, 7