Task: Program Execution
Input (English): A, Q, 9045, 8147, f, 961, 725, 4539, 5877, 6907, 4535, Y, 6763, Z, m, 7525, 6131
Output (English): 3, 4, 6, 7, 8, 9, 10, 11, 13, 16, 17