Task: Program Execution
Input (English): d, 8661, 8591, 7143, j, u, s
Output (English): 1, 5, 6, 7