Threshold amount
For purposes of this subsection, subject to paragraph (6), the threshold amount is—
(A)#
except as provided in subparagraph (B), $80,000 (or, beginning with 2018, $85,000), and
(B)#
in the case of a joint return, twice the amount applicable under subparagraph (A) for the calendar year.