A woman bought some large frames for ​$16 each and some small frames for ​$4 each at a closeout sale. If she bought 24 frames for ​$180​, find how many of each type she bought.