suppose you throw a ball straight up into the air. it slow down and loses the kinetic energy.where does this energy go?

ΔKE ---> ΔPE