Task: Program Execution
Input (English): 447, b, x, 107
Output (English): 0, 1, 4, 7