Problem 3 Final Result

Final result expressed in console.log