Mary and Louis are sharing 1000g of flour. Mary receives 3 times as much as Louis. How many grams of flour does each of them receive?😕😕

x + 3x = 1000

4x = 1000

x = ______ g