sentence: in 1824 the british parliament replaced all the various gallons with a new imperial gallon based on ten pound of distilled water at ( 277.42 cubic inches ) , from which the current uk pint is derived .