A grocer had 14 boxes each containing 24 packets of macaroni. An employee repacked all the packets into packs of six. Calculate the number of packs of macaroni he got.​