When you get the Mystery Gift how do you get the Naval Rock?

go to any Pokemon mart fill in the questionar and put in the words "link together with all"