Take the following texts and complete them with necessary commas.
Input: I usually cook pasta with tomatoes basil and garlic
I usually cook pasta with tomatoes, basil, and garlic.
I usually cook pasta with tomatoes, basil and garlic.