Task: Program Execution
Input (English): Q, d, e, i, 1727, 6529, e, 3019, 6327, p, 1769, K, 2215, B, 3507, 7177, 4415, 4917, 4815, J, w
Output (English): 1, 2, 3, 4, 7, 10, 12, 14, 20, 21