problem12.js