XYZ Co. purchased a property costing $500,000. It consists of a piece of land with an assessed value of $250,000 and a building with an assessed value of $250,000. What is the depreciable cost of the land and that of the building? Assume that the useful life of the building is 25 years and that there is no salvage value assigned to it.