Task: Program Execution
Input (English): 327, g, h, 91, 219, 67, 119
Output (English): 1, 2, 3, 6, 7, 9