A tank contains 240 liters of fluid in which 50 grams of salt are dissolved. Pure water is then pumped into the tank at a rate of 6L/min; the well mixed solution is pumped out at the same rate. Find the number A(t) of grams of salt in the tank at time t.