A partnership between two companies calls for company A to get a flat fee of $25,000 from Company B each month, plus 15% of all sales for the jointly developed product sold by company B. If Company B sells a total of $1,200,000 of the jointly developed product in the first twelve months, what will be the total amount owed Company A by Company B?