Fourteen friends went to the county fair. All except 6 of them bought a hot dog.each hot cost $3.how much did the friends spend on hot dogs.