6204
Also hit hard were Naugatuck , Torrington , Thomaston , Beacon Falls and Ansonia , flooded by the Naugatuck River ; the Unionville section of Farmington , New Hartford and Collinsville on the Farmington River ; and the northeastern towns of Putnam , Thompson and Danielson , which were severely damaged when a dam burst in Massachusetts , causing the Quinebaug River to flood those towns .
 location contains: Massachusetts, Farmington River; location contains: Massachusetts, Quinebaug River
Given a phrase that describes the relationship between two words, extract the words and the lexical relationship between them. The output format should be "relation1: word1, word2; relation2: word3, word4". 
Option: ethnicity, place lived, geographic distribution, company industry, country of administrative divisions, administrative division of country, location contains, person of company, profession, ethnicity of people, company shareholder among major shareholders, sports team of location, religion, neighborhood of, company major shareholders, place of death, nationality, children, company founders, company founded place, country of capital, company advisors, sports team location of teams, place of birth 
Text: {0} 
Answer:
 location contains: Massachusetts, Farmington River; location contains: Massachusetts, Quinebaug River