Study of the cosmic ray composition