The code

The result