Xiao Ming has 10 rectangular cards of three types, 2*2, 2*3, and 3*3. Xiao Gang borrowed 6 cards from Xiao Ming to form a rectangular parallelepiped. The cards can never form a cuboid, so Xiao Gang needs to borrow at least as many cards from Xiao Ming to ensure that 6 of them can form a cuboid.
小明有规格为2*2、2*3、3*3的三种矩形卡片各10张，小刚向小明借6张卡片，用来搭成一个长方体，但小明总是为难小刚，给他的卡片总是搭不成长方体，那么小刚至少要向小明借多少张卡片，就可以保证其中一定有6张卡片能够搭成一个长方体．
<gadget id="calculator">5 + 5 + 3 + 1</gadget>
<output>14</output>

<result>14</result>