A star was observed to have a planet orbiting it at a distance of 1.12×108 km. The orbital period of the planet is 329 days. Calculate the mass of the star.