Task: Program Execution
Input (English): 229, x, 487, f, p
Output (English): 2, 4, 7, 8, 9