Task: Program Execution
Input (English): 8817, A, 3511, 8683, 8027, p, m, Q, 5091, 1061, 4277, Q, 2819
Output (English): 8817, 1, 3511, 8683, 8027, 16, 13, 17, 5091, 1061, 4277, 17, 2819