Mr.J left his entire estate to his wife, his daughter, his son, and the cook. His daughter and son got half the estate, sharing in the ratio of 4 to 3. His wife got twice as much as the son. If the cook received a bequest of Rs. 500, then the entire estate was: