A shopkeeper bought a box of pens. There were fewer than 60 pens in the box. The pens can be packed into bags of 4 or 7. What is the greatest possible number of pens in the box?