How to find the composition of an elements?