Task: Program Execution
Input (English): o, i, 8609, 4981, 7123, 4947, 2783, 1481
Output (English): 6