Task: Program Execution
Input (English): d, o, r, 387, a, 167, r
Output (English): 1, 3, 6, 7, 8