A groundskeeper must buy bags of fertilizer. Each bag treats $10000$ square feet of ground and costs $\$27$. The groundskeeper can buy only whole bags of fertilizer. How much will it cost to buy the least number of bags necessary to treat $6000$ square yards of ground