We use Johnson's algorithm to find the optimal sequence. The minimum processing time is 5, for Job VI on Machine B and Job VII on Machine A. Job VII goes first, Job VI goes last. Sequence: [VII, , , , , , VI]. The next smallest time is 7 for Job I on Machine A. It goes next. Sequence: [VII, I, , , , , VI]. The next smallest is 10 for Job IV on both machines. We schedule it from Machine A's side. Sequence: [VII, I, IV, , , , VI]. The next smallest is 14 for V on A, and II and III on B. We schedule V from A's side, and II and III from B's side. After tie-breaking, final sequence is: \[ \textbf{VII - I - IV - V - III - II - VI} \] 