||July 27, 2019||July 28, 2018||
||Notional Amount|Fair Value|Notional Amount|Fair Value|
|Forward contracts:|||||
|Purchased|$2,239|$14|$1,850|$(2)|
|Sold|$1,441|$(14)|$845|$2|
 Foreign Currency Exchange Risk Our foreign exchange forward contracts outstanding at fiscal year-end are summarized in U.S. dollar equivalents as follows (in millions): At July 27, 2019 and July 28, 2018, we had no option contracts outstanding. We conduct business globally in numerous currencies. The direct effect of foreign currency fluctuations on revenue has not been material because our revenue is primarily denominated in U.S. dollars. However, if the U.S. dollar strengthens relative to other currencies, such strengthening could have an indirect effect on our revenue to the extent it raises the cost of our products to non-U.S. customers and thereby reduces demand. A weaker U.S. dollar could have the opposite effect. However, the precise indirect effect of currency fluctuations is difficult to measure or predict because our revenue is influenced by many factors in addition to the impact of such currency fluctuations Approximately 70% of our operating expenses are U.S.-dollar denominated. In fiscal 2019, foreign currency fluctuations, net of hedging, decreased our combined R&D, sales and marketing, and G&A expenses by approximately $233 million, or 1.3%, as compared with fiscal 2018. In fiscal 2018, foreign currency fluctuations, net of hedging, increased our combined R&D, sales and marketing, and G&A expenses by approximately $93 million, or 0.5%, as compared with fiscal 2017. To reduce variability in operating expenses and service cost of sales caused by non-U.S.-dollar denominated operating expenses and costs, we may hedge certain forecasted foreign currency transactions with currency options and forward contracts. These hedging programs are not designed to provide foreign currency protection over long time horizons. In designing a specific hedging approach, we consider several factors, including offsetting exposures, significance of exposures, costs associated with entering into a particular hedge instrument, and potential effectiveness of the hedge. The gains and losses on foreign exchange contracts mitigate the effect of currency movements on our operating expenses and service cost of sales. We also enter into foreign exchange forward and option contracts to reduce the short-term effects of foreign currency fluctuations on receivables and payables that are denominated in currencies other than the functional currencies of the entities. The market risks associated with these foreign currency receivables, investments, and payables relate primarily to variances from our forecasted foreign currency transactions and balances. We do not enter into foreign exchange forward or option contracts for speculative purposes


Question: What would be the change in the fair value of sold forward contracts between 2018 and 2019 if the fair value of sold forward contracts in 2019 was $20 million instead? (in million)

Solution:
def solution():
    # Define variables name and value
    fair_value_2019 = 20
    fair_value_2018 = 2

    # Do math calculation to get the answer
    answer = fair_value_2019 - fair_value_2018
    
    return answer
Answer: 18