Task: Program Execution
Input (English): d, 9811, g, O, h
Output (English): 1, 3, 4, 5