Task: Program Execution
Input (English): K, P, 3231, U, A, N, Q, P, M, 3815, v, 8599, 7357, 2507, 2099, b, 55, 6231
Output (English): 1, 2, 4, 5, 6, 7, 8, 9, 11, 16