Task: Program Execution
Input (English): f, b, 19, 437, 91
Output (English): 1, 3, 4, 7, 9