Many-nucleon system in the shell-model potential