Task: Program Execution
Input (English): n, k, h, 253, 141, 123, l, w, w
Output (English): 1, 2, 3, 4, 5