Rodriguez Company pays $321,165 for real estate with land, land improvements, and a building. Land is appraised at $210,000; land improvements are appraised at $42,000; and a building is appraised at $168,000.Allocate the total cost among the three purchased assets and prepare the journal entry to record the purchase.