Measuring fluxes of the protons and helium nuclei of high-energy cosmic rays