Task: Program Execution
Input (English): k, S, N, 2487, 2739, 5453, 8165, 7791
Output (English): 2487, 2739, 5453, 8165, 7791