Fix grammaticality in this sentence: In the Middle Ages, sailors carried garlic with them to help them endure long periods at sea.
In Middle Ages, sailors carried garlic with them to endure long periods in the seas.