THE program can be seen as follow:

Related posting: click here.