An intelligent man carries 3 sacks with 30 mangoes each. As he crosses each toll, he has to give 1 mango for each sack. He crosses 30 tolls. How many mangoes he will have at the end?