text: function solve(args) {
      let result = {};
  
      for (let i = 0; i < args.length; i++) {
          let townIncome = JSON.parse(args[i]);
          let name = townIncome.town;
          let income = townIncome.income;
  
          if (result[name] || result[name] === 0) {
              result[name] += income;
          } else {
            result[name] = income;
          }
      }
  
      let towns = Object.keys(result).sort();
  
      for (let i = 0; i < towns.length; i++) {
          console.log(`${towns[i]} -> ${result[towns[i]]}`);
      }
  }