In Seussville, a group of dogs were in cars. Some dogs were wearing fancy scarves and some were wearing plain scarves. The dogs spent a total of $91 on the scarves. Fancy scarves cost $14 and plain scarves cost $7. If the dogs bought a total of 10 scarves, how many of each type of scarf did the dogs buy?