Energy Spectrum of Cosmic Rays