Task: Program Execution
Input (English): n, 7387, 2649, 219, 7735, 9503, a, 3053, w, 7677, 9679, 8765
Output (English): 2, 3, 4, 5, 6, 8, 10, 11, 12