Update problem24.js