Improve the grammar of the given text
In Middle Ages, sailors carried garlic with them to endure long periods in the seas.
In the Middle Ages, sailors carried garlic with them to help them endure long periods at sea.