Task: Program Execution
Input (English): 17, l, o, 387, v
Output (English): 1, 3, 7, 8