|Period|Total Number of Shares Purchased|Average Price Paid per Share (1)|Total Number of Shares Purchased as Part of Publicly Announced Plans or Programs (2)|Approximate Dollar Value of Shares that May Yet Be Purchased Under the Plans or Programs (3)|
|||||(in millions of U.S. dollars)|
|June 1, 2019 — June 30, 2019|801,659|$183.18|785,600|$3,924|
|July 1, 2019 — July 31, 2019|462,629|$194.65|442,846|$3,832|
|August 1, 2019 — August 31, 2019|850,036|$193.23|819,861|$3,674|
|Total (4)|2,114,324|$189.73|2,048,307||
 Purchases of Accenture plc Class A Ordinary Shares The following table provides information relating to our purchases of Accenture plc Class A ordinary shares during the fourth quarter of fiscal 2019. For year-to-date information on all of our share purchases, redemptions and exchanges and further discussion of our share purchase activity, see “Management’s Discussion and Analysis of Financial Condition and Results of Operations—Liquidity and Capital Resources—Share Purchases and Redemptions.” (1) Average price paid per share reflects the total cash outlay for the period, divided by the number of shares acquired, including those acquired by purchase or redemption for cash and any acquired by means of employee forfeiture. (2) Since August 2001, the Board of Directors of Accenture plc has authorized and periodically confirmed a publicly
announced open-market share purchase program for acquiring Accenture plc Class A ordinary shares. During
the fourth quarter of fiscal 2019, we purchased 2,048,307 Accenture plc Class A ordinary shares under this
program for an aggregate price of $389 million. The open-market purchase program does not have an expiration
date (3) As of August 31, 2019, our aggregate available authorization for share purchases and redemptions was $3,674 million, which management has the discretion to use for either our publicly announced open-market share purchase program or our other share purchase programs. Since August 2001 and as of August 31, 2019, the Board of Directors of Accenture plc has authorized an aggregate of $35.1 billion for share purchases and redemptions by Accenture plc and Accenture Canada Holdings Inc (4) During the fourth quarter of fiscal 2019, Accenture purchased 66,017 Accenture plc Class A ordinary shares in transactions unrelated to publicly announced share plans or programs. These transactions consisted of acquisitions of Accenture plc Class A ordinary shares primarily via share withholding for payroll tax obligations due from employees and former employees in connection with the delivery of Accenture plc Class A ordinary shares under our various employee equity share plans. These purchases of shares in connection with employee share plans do not affect our aggregate available authorization for our publicly announced open-market share purchase and our other share purchase programs.


Question: What is Accenture's average share price paid per share for June and July of 2019 if the number of shares bought in July is 400,000 instead?

Solution:
def solution():
    # Define variables name and value
    shares_june = 801659
    price_june = 183.18
    shares_july = 400000
    price_july = 194.65

    # Do math calculation to get the answer
    answer = (shares_june * price_june + shares_july * price_july) / (shares_june + shares_july)
    
    return answer

Answer: 186.99805487247215