The north pole of a long bar magnet was pushed slowly into a short solenoid connected to a galvanometer. The magnet was held stationary for a few seconds with the north pole in the middle of the solenoid and then withdrawn rapidly. The maximum deflection of the galvanometer was observed when magnet was: