Task: Program Execution
Input (English): 5203, 265, 3607, 1585, a, t, 6081, B, Q, 809, N, m, 2283, 7331, a, V, 3409, 2607, V, 5593
Output (English): 5203, 265, 3607, 1585, 1, 20, 6081, 2, 17, 809, 14, 13, 2283, 7331, 1, 22, 3409, 2607, 22, 5593