Task: Program Execution
Input (English): N, 601, 7425, P, C, J, 4831, 2965, 2549, 235, Z, L, 4699, L
Output (English): 2, 3, 7, 8, 9, 10, 13