From\To

W1

W2

W3

Availability ai

S1

4

(6)

X

14 ? 6 = 8

S2

X

5

(4)

8

(6)

0

S3

X

X

7

(6)

0

Requirement bj

8

0

0

8