Task: Program Execution
Input (English): l, c, v, 1495, j, k, 5721, k, R, 5457, 5103, A, J, d, e, 6645, q, 8419, v, 3467, 1037, Q
Output (English): 12, 3, 22, 1495, 10, 11, 5721, 11, 18, 5457, 5103, 1, 10, 4, 5, 6645, 17, 8419, 22, 3467, 1037, 17