Task: Program Execution
Input (English): P, 3073, 8721, J, H, J, 1717, 4211, 6339, K, 7347, K, L, a, F, a, 8693, 5905, D, O, s
Output (English): 2, 3, 7, 8, 9, 11, 17, 18