The hardware store sells green buckets, which hold 7 liters of water, and white buckets, which hold 1 liter. Austin bought 8 buckets. His buckets will hold 38 liters in total. How many of each type of bucket did Austin buy?

? green buckets
? white buckets