Building A is 150 feet shorter than Building B. The total height of the two buildings is 1490 feet. Find the height of each building. What is the height of Building​ A?