Task: Program Execution
Input (English): f, x, u, 103, 167, r, l, h
Output (English): 0, 1, 3, 6, 7