Assignment Finished

The output of the function completely fulfill  the problem’s
qualification.