Task: Program Execution
Input (English): d, a, 1165, F, k, 1321, q, 1683, 1813, x, z, 4447, m, p, 6911, 5911, n
Output (English): 1, 2, 4, 5, 7, 10, 11, 13, 14, 17