Task: Program Execution
Input (English): Q, r, 5621, w, a, 7211, G, a, 4397, A, 8725, 775, z, B, q, u
Output (English): 1, 2, 4, 5, 7, 8, 10, 13, 14, 15, 16