Task: Program Execution
Input (English): N, e, T, j, 1915, g, 3951, 7101, 9153, 563
Output (English): 5, 7, 8, 9, 10