8 cloves garlic
3 tablespoons olive oil
1 1/2 pounds potatoes, peeled and cubed
1 1/2 pounds sweet potatoes, peeled and cubed
1/2 cup milk
1/4 cup butter
1/2 teaspoon dried rosemary
1/2 cup grated Parmesan cheese
salt to taste
ground black pepper to taste