Calculate the molecular weight of an organic compound containing 40% carbon, 6.7% hydrogen, and the rest oxygen.