The table shows the different packs of sports cards available for purchase. What is the smallest number of baseball and football cards that Herb can buy so that he will have the same number of each type of card?

Game
Number of Cards per pack
Baseball
40
Hockey
35
Football
14