John is creating a Thanksgiving display at the store where he works, using only canned pumpkin and canned green beans. He needs to maintain a ratio of pumpkin to green beans of 3 to 1. If he wants to use a total of 72 cans, how many cans of green beans should he use