Kelsey bought some roses and tulips.She bought twice as many tulips as roses. Roses cost $5 each. Tulips cost $2 each .Kelsey spent $36 total. How many of each kind of flower did Kelsey buy ?