Task: Program Execution
Input (English): 509, 2649, 7253, 4917, 3319, 6673, t, l, 9921, v, 7877, W, W, 8451, 2751, P, 5477, 6109
Output (English): 509, 2649, 7253, 4917, 3319, 6673, 20, 12, 9921, 22, 7877, 23, 23, 8451, 2751, 16, 5477, 6109