Get your taxes done using TurboTax

Did the child live with both of you for over 6 months?  If so, you can pick which one of you to claim the child, and see which has the best results.  Only ONE of you should enter the child.

If the child only lived with one of you for over 6 months, that is the person that needs to claim the child.

There is also the possibility that one of the grandmas could claim the child.  However, as the parent, you get the first option to claim the child (IF the child lived with you for over 6 months).