Algorithm(4)

1