In this task, you are given a sentence or phrase in English. You must translate it to Xhosa in a way that is equivalent in terms of meaning and grammatically correct.

Ex Input:
But waves passing through a group attain their maximum height at the centre.

Ex Output:
Kodwa amaza agqitha phakathi kweqela eliphumelele kubukhulu bobude ngokwesiphakathi.


Ex Input:
Plates fitted fore and aft between floors to check the rush of bilge water from side to side when the ship is rolling.

Ex Output:
Amacangci alungiselelweyo afumaneka phakathi komva womphambili womgangatho wenqanawe, ahlola ukukhawuleza kwamanzi kumphantsi wenqanawe, ukusuka kwelinye icala ukuya kwelinye, xa inqanawe igungqagungqa.


Ex Input:
This taught the sailor how many degrees must be added to, or subtracted from, his observed altitude in accordance with the positions of the Guards.

Ex Output:

Le yafundisa abathengisi ukuba zingaphi izidonga ezunokongezwa, okanye zithatyathwe kujongo lomphakomo ngokwendawo eyiugadileyo.