Tom and Jim each have some books after Jim borrowed 20% of Tom’s box the number of books jim owned was increased by 15% to 23, how many books did tom have at first?