Parents win custody of three kids