The components of Accumulated other comprehensive loss, net of taxes as of April 30, 2018, and changes during the six months ended April 30, 2018 were as follows: | | | | | | | | | | | | | | | | | | | | | | Net unrealized gains (losses) on available-for-sale securities | | Net unrealized gains (losses) on cash flow hedges | | Unrealized components of defined benefit plans | | Cumulative translation adjustment | | Accumulated other comprehensive loss | | In millions | Balance at beginning of period | $ | 29 |
| | $ | (48 | ) | | $ | (2,690 | ) | | $ | (186 | ) | | $ | (2,895 | ) | Activity related to separation and merger transactions | — |
|
| — |
|
| — |
|
| (186 | ) |
| (186 | ) | Other comprehensive income (loss) before reclassifications | 1 |
| | (85 | ) | | 1 |
| | 1 |
| | (82 | ) | Reclassifications of (gains) losses into earnings | (9 | ) | | 105 |
| | 85 |
| | — |
| | 181 |
| Balance at end of period | $ | 21 |
| | $ | (28 | ) | | $ | (2,604 | ) | | $ | (371 | ) | | $ | (2,982 | ) |
|