The correct answer is: B.) nitrogen, sulfur, phosphorus.
Combining with these elements carbohydrates form carbohydrate derivates (acidic sugars, deoxy sugars, sugar alcohols, glycosylamines). Monosaccharides (basic units of carbohydrates) may undergo various changes to form carbohydrate derivatives (modification of sugar molecules by addition substituents other than hydroxyl group).