Problem 1
Problem1.js