System.out.println("Enter moles. Then, enter the element and its subscript/number of times it's present.

Once you've entered all the elements enter \"done\" in the \"Enter element symbol\" slot.1");