Smith has an adjusted gross income AGI of 140,000 without taking into consideration 40000 of losses from rental real estate activities. Smith actively participated in the rental real estate activities. What amount of the rental losses may smith deduct in determining taxable income?