John and Fred owned, as joint tenants with right of survivorship, business property that they purchased for $40,000. John furnished one fourth of the purchase price and Fred furnished three fourths of the purchase price. Depreciation deductions allowed before Fred's death were $8,000. Under local law, each had a one half interest in the income from the property. At the time of Fred's death, the fair market value of the property was $80,000, three fourths of which is includable in Fred's estate. What is John's basis in the property at the date of Fred's death