text: class Rat {
  	constructor(name) {
  		this.name = name;
  		this.unitedRats = [];
  	}
  	
  	unite(otherRat) {
  		if (otherRat instanceof Rat) {
  			this.unitedRats.push(otherRat);
  		}
  	}
  	
  	getRats() {
  		return this.unitedRats;
  	}
  	
  	toString() {
  		let result = this.name + '\n';
  		for (let el of this.unitedRats) {
  			result += `##${el.name}\n`;
  		}
  		
  		return result.trim();
  	}
  }