Task: Program Execution
Input (English): 117, 407, 173, f
Output (English): 0, 1, 3, 4, 7