Borox is loading a freight elevator with 12 boxes: 4 small, 5 medium, and 3 large. A small box and medium box together weigh 20 pounds; a medium box and a large box together weigh 28 pounds; and a small box with a large box together weigh 24 pounds. What is the total weight of the 12 boxes?