Kevin packs cans of beans into cases. He has 3,987 cans, and each case holds 240 cans. How many cases will he need to pack all the cans?