Maryland 529 distributions from grandparent account to beneficiary

Hello, our college student's grandparents have a 529 for her.  There was a distribution not used for qualified expenses made to her as beneficiary.  The student does not contribute to a 529 plan.  I was able to get thru the 1099-Q reporting at the federal level on her return, but how does this get reported on the Maryland return?  Does this amount need to be entered somewhere on her Maryland return, if so, specifically how?  I only see help info about not taking a contribution, but she doesn't make one.  Also, does it affect her grandparents' returns?  Thanks.