AMC Homes is planning to build 3 and 4 bedroom homes in housing development called Chestnut Hills. Consumer demand points out a need for three times as many 4 bedroom homes as 3 bedroom homes. The net profit from each 3 bed home is $16000 and from each 4 bed home $17000. If AMC Homes must net a total profit of $13.4 million from this development how many homes of each type should they build?