Pencils are sold in boxes of 10. Erasers are sold in boxes of 14. A teacher wants to buy the same number of pencils and erasers. Work out the smallest number of boxes of each item she should buy.