Task: Program Execution
Input (English): T, 3809, x, W, 8615, p, n, 1627, w, L, 8987
Output (English): 20, 3809, 24, 23, 8615, 16, 14, 1627, 23, 12, 8987