Task: Program Execution
Input (English): a, P, v, 9929, 1301, 4679, 8583, 5715, c, d, 3811, 6479, r, 2287, 3425, 1483, H, k, Q, 9371
Output (English): 1, 2, 3, 9, 10, 13, 17, 18, 19