Task: Program Execution
Input (English): 5405, 4255, 2739, 2127, 8945, Q, U, B, 1743, 1877, Q, 6715, f, J
Output (English): 5405, 4255, 2739, 2127, 8945, 17, 21, 2, 1743, 1877, 17, 6715, 6, 10