Task: Program Execution
Input (English): 109, h, g, 219, 337, o
Output (English): 0, 1, 2, 3, 7, 9