Task: Program Execution
Input (English): j, j, 287, 45, 365, p, u
Output (English): 2, 3, 4, 5, 6, 7, 8