Task: Program Execution
Input (English): 863, 8213, 5119, 2097, x, 877, o
Output (English): 5, 7