In general
The amount allowable as a deduction under subsection (a) to any individual for any taxable year shall not exceed the lesser of—
(A) the deductible amount, or
(B) an amount equal to the compensation includible in the individual’s gross income for such taxable year.