A chemist currently has a solution of 30% hydrochloric acid and a solution of 15% hydrochloric acid. He mixes the two solutions together to create 24 ounces of a 25% hydrochloric acid solution. How many ounces of the 30% hydrochloric acid solution did he use in order to obtain the 25% solution?