[{"from": "human", "value": "Use the given information to create a molecule that fulfills the desired purpose. The molecule is a hydrate that is the hexahydrate form of ammonium magnesium phosphate. It is a constituent of urinary calculi. It has a role as a fertilizer. It is a hydrate and a phosphate mineral. It contains an ammonium magnesium phosphate."}, {"from": "gpt", "value": "[NH4+1].[O].[O].[O].[O].[O].[O].[O-1][P][=Branch1][C][=O][Branch1][C][O-1][O-1].[Mg+2]"}]