The result

First assignment code