Professor McGonagall , the head of the Gryffindor House , solves the riddle accurately .
The head of Gryffindor house is Minerva McGonagall .