How to write a chemical formula in order to identify the number of atoms of each element

how to write a chemical formula in order to identify the number of atoms of each element in the compound