Task: Program Execution
Input (English): 7585, p, 9771, 1521, J, q, I, u, a, 7175, 4777, j, l, 7645, 9373, I, C, e, 4939, 8765, 1987
Output (English): 2, 5, 6, 7, 8, 9, 12, 13, 16, 17, 18