Task: Program Execution
Input (English): x, K, 1491, 1223, 2387, 6055, 3649, 2567, T, l, O
Output (English): 1491, 1223, 2387, 6055, 3649, 2567