ASSIGNMENT:

OUTPUT:

top