Task: Program Execution
Input (English): h, d, 151, 295, g, i, 143, 219, 357
Output (English): 1, 2, 3, 4, 5, 7, 9