At a sale , dresses were sold for 35% of their original price. If the dresses originally cost 40$ each how much did a dress cost on sale