please solve this problem
5. For the circuit shown below,apply the Kernighan-Lin algorithm to generate a two-way balanced partition.The initial partition is A={1,2,3,4} and B-{5,6,7,8}.You can guess the optimum partition for this example; does the Kernighan-Lin algorithm generate the optimum? What is the balanced partition of the circuit that has the maximum value of cutset?