### Human:\nwhat foods contain magnesium?\n\n### Assistant: magnesium is found in nuts and beans certain leafy green vegetables (broccoli and spinach) and potatoes; smaller amounts are in whole grain foods meats seafood and milk.