seven boys were to have their pictures taken three at a time. the photographer had three chairs placed in a row. how many ways could the photographer arrange the boys for their pictures