a cookie costs .45 and a cupcake costs .65. thirty five baked goods were sold for a total of 18.55. how many cookies were sold?