Task: Program Execution
Input (English): L, n, 8345, 8747, 9115
Output (English): 8345, 8747, 9115