Here is the output of my program: