Task: Program Execution
Input (English): e, b, 147, 439, k
Output (English): 1, 3, 4, 7, 9