Education

What happens if they are your dependents and you received a 1099Q in parent name and another 1099Q in your student's name, used 529 to pay for all of it, and want to take the American Opportunity Credit. Is the parent allowed to input the student's 1099Q onto the parent's tax return along with the 1099Q in the parent's name that was used for the same kid? Hope this makes sense. I come out better if I put my son's 1099Q onto my return as opposed to him doing a return with just the 1099Q on it for some strange reason. Thank you!