Task: Program Execution
Input (English): 7617, 7981, 967, 9321, d, n, 5471, 1961, 2579, 4959, W, Z, l, W
Output (English): 5, 6, 11, 12, 13, 14