Task: Program Execution
Input (English): n, k, 6695, 4347, Q, T, I, 2391
Output (English): 13433