Alta Co. spent $400,000 during the current year developing a new idea for a product that was patented during the year. The legal cost of applying for a patent license was $40,000. Also, $50,000 was spent to successfully defend the rights of the patent against a competitor. The patent has a life of 20 years. What amount should Alta capitalize related to the patent?