Task: Program Execution
Input (English): D, e, o, 5835, g, 4193, 4797, 3783
Output (English): 1, 2, 3, 5