Task: Program Execution
Input (English): [246, 91, 111, 87, 103, 49, 213, 74, 57, 63, 112, 279, 109, 158, 230, 219, 132, 296, 107, 178], k=18
Output (English): 246