Task: Program Execution
Input (English): [42, 109, 58, 79, 226, 18, 98, 289, 114, 217, 291, 268, 165, 258, 60, 19, 136, 147, 14, 111] k=9
Output (English): [51, 118, 67, 88, 235, 27, 107, 298, 123, 226, 300, 277, 174, 267, 69, 28, 145, 156, 23, 120]