const fs = require('fs'); const data = fs.readFileSync('input.txt', 'utf-8'); const groups = data.split('\n\n'); let sum = 0 for (let g = 0; g