Task: Program Execution
Input (English): 7753, 5645, 6941, 9321, 3261, T, d, 8517, x, K, 653, 7453, q, 6967, i, 4109, 5081, K, d, n
Output (English): 1, 2, 3, 4, 5, 8, 11, 12, 14, 16, 17