Program

The Program is available below:

.