Task: Program Execution
Input (English): N, 1271, 445, i, 5327, c, 7137, 3177, b, 2881, p, e, i, m, c, 4099, 465, T, J, 9129, D
Output (English): 2, 3, 5, 7, 8, 10, 16, 17, 20