Country A produces about eight times the amount of diamonds in carats produced in country B. If the total produced in both countries is 9,000,000 carats, find the amount produced in each country.