Task: Program Execution
Input (English): u, q, m, 1081, i, 2931, 5449, 6233, Q, v, 3477, 1113, p, q
Output (English): 4, 6, 7, 8, 11, 12