The pion-nucleon scattering amplitudes at 6 GeVc and 16 GeVc