Task: Program Execution
Input (English): 119, 79, g, 289, 97, h
Output (English): 1, 2, 7, 8, 9