Task: Program Execution
Input (English): Q, L, 4867, M, 725, Q, 4437, Z, A, x, 9511, w, i, 4449, p, G, g, Z
Output (English): 3, 5, 7, 11, 14