Adams Stationary sells cards in packs of 6 and envelops in packs of 9. If HyunSik wants the same number of each, what is the minimum number of cards that he will have to buy?