Algorithm(6)

1