This question can be solved by using kinetic-potential energy postulate. It states that for any point sum of potential and kinetic energy of a body is same.

At the given height potential energy is:

When the body reaches ground height is 0m and the potential energy is 0J. This means that all potential energy is transformed into kinetic energy.

At the moment when body hits the ground the kinetic energy is 23J.