Table:
|  | Pension |  | Other Benefits |  |
| --- | --- | --- | --- | --- |
|  | 2019 | 2018 | 2019 | 2018 |
| Net actuarial loss (gain) | $16,864 | $15,691 | $(793) | $(879) |
| Prior service cost | 1,325 | 1,413 | — | — |
| Accumulated other comprehensive (income) loss | $18,189 | $17,104 | $(793) | $(879) |
Paragraphs:
Amounts recognized in Accumulated other comprehensive income (loss) at March 31, 2019 and 2018 consist of the following (amounts in thousands):
Although not reflected in the table above, the tax effect on the pension balances was $2.4 million and $2.3 million as of March 31, 2019 and 2018, respectively.
Question:
Which years does the table provide information for Amounts recognized in Accumulated other comprehensive income (loss)?
Answer: 2019, 2018