This aircraft can take off from and land on both land and water.
This aircraft can take off and land on both water and land.
Are both these sentences grammatically correct? If yes, then which one would be more common in idiomatic English? And if one is wrong then please explain why?