write basis for H,C and O