How to determine oxidation number