Remember the rule for writing ionic formulas.
1- Balance for charge. ( the program will help you)
2- Use the right symbols for each element
3- Use brackets only if you have multiples of polyatomic anions.
4- The cation always goes first.
5- Always use subscripts (the program will help you)