Spectra of solar neutrons with energies of ~10–1000 MeV in the PAMELA experiment in the flare events of 2006–2015