How many molecules of oxygen are produced along with one molecule of sugar?

With the production of one molecule of sugar six molecules of oxygen are produced during photosynthesis.