Task: Program Execution
Input (English): W, n, T, 8733, 8131, 1209, 9659, 7011, l, 707, 3749, P, K, c, 91, 9859, C, f
Output (English): 1, 2, 3, 9, 12, 13, 14, 17, 18