Task: Program Execution
Input (English): 8475, h, 3159, 2981, 3205, Q, B, E
Output (English): 2, 6, 7, 8