problem1.js