Task: Program Execution
Input (English): 8087, Y, 6167, n, k, 1183, x, s, r, N, 5107, 5423, K, q, 3121
Output (English): 2, 4, 5, 7, 8, 9, 10, 13, 14