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