Anisotropies of different mass compositions of cosmic rays