Input (grade 10): In fact the only reasons the gharial leaves the water is either to bask in the sun or to nest on the sandbanks of the river.
Output (grade 10): In fact the only reasons the gharial leaves the water is to either bask in the sun or to nest on the sandbanks of the rivers.