Task: Program Execution
Input (English): d, c, 217, 499, h
Output (English): 1, 2, 4, 7, 9