A body is projected vertically upwards from the surface of the earth with a velocity equal to half the escape velocity. If \(R\) is the radius of the earth, maximum height attained by the body from the surface of the earth is