Deductions & credits

I was told the foster parents can receive the foster care deductions but could not claim the children because they are dependents of the court and will kinda be like double dipping