A garden tank is filled by a pump that works in steps. Water enters at the rate r(t)=t+[t] litres per minute, where t is the time in minutes and [t] is the greatest integer not above t. At the same time a small leak removes water at a constant 0.5L per minute. How many litres are added to the tank in the first 3.5 minutes?