Task: Program Execution
Input (English): f, 433, 441, x, 47
Output (English): 1, 3, 4, 7