Task: Program Execution
Input (English): w, K, 2811, 5333, 9117, k, 1229, 2157, 7223, 6575, n, 8157, P, 3599, Z, D
Output (English): 1, 2, 6, 11, 13, 15, 16