Task: Program Execution
Input (English): Q, m, A, T, 2249, 3755, b, 8493, q, 4337, 5115, n, V, a, 8529, G, 6475, 423, F, P, m
Output (English): 17, 13, 1, 20, 2249, 3755, 2, 8493, 17, 4337, 5115, 14, 22, 1, 8529, 7, 6475, 423, 6, 16, 13