Task: Program Execution
Input (English): k, n, 2923, W, 433, 9105, 729, s, J, 3077, 3947
Output (English): 2923, 433, 9105, 729, 3077, 3947