sources and uses of cash ( in millions ) in summary , our cash flows for each period were as follows : years ended ( in millions ) dec 29 , dec 30 , dec 31 . years ended ( in millions )                            | dec 292018       | dec 302017       | dec 312016      
net cash provided by operating activities              | $ 29432          | $ 22110          | $ 21808         
net cash used for investing activities                 | -11239 ( 11239 ) | -15762 ( 15762 ) | -25817 ( 25817 )
net cash provided by ( used for ) financing activities | -18607 ( 18607 ) | -8475 ( 8475 )   | -5739 ( 5739 )  
net increase ( decrease ) in cash and cash equivalents | $ -414 ( 414 )   | $ -2127 ( 2127 ) | $ -9748 ( 9748 ) md&a consolidated results and analysis 40 .
Question: what was the value of cash provided by operating activities in 2018?
Steps: Ask for number 29432
Answer: 29432.0
Question: what was the value in 2017?

Read the following texts and table with financial data from an S&P 500 earnings report carefully.Based on the question-answer history (if provided), answer the last question. The answer may require mathematical calculation based on the data provided.
sources and uses of cash ( in millions ) in summary , our cash flows for each period were as follows : years ended ( in millions ) dec 29 , dec 30 , dec 31 . years ended ( in millions )                            | dec 292018       | dec 302017       | dec 312016      
net cash provided by operating activities              | $ 29432          | $ 22110          | $ 21808         
net cash used for investing activities                 | -11239 ( 11239 ) | -15762 ( 15762 ) | -25817 ( 25817 )
net cash provided by ( used for ) financing activities | -18607 ( 18607 ) | -8475 ( 8475 )   | -5739 ( 5739 )  
net increase ( decrease ) in cash and cash equivalents | $ -414 ( 414 )   | $ -2127 ( 2127 ) | $ -9748 ( 9748 ) md&a consolidated results and analysis 40 .
Question: what was the value of cash provided by operating activities in 2018?
Steps: Ask for number 29432
Answer: 29432.0
Question: what was the value in 2017?
