Task: Program Execution
Input (English): f, 159, 341, 11
Output (English): 1, 3, 4, 5, 9