A bar magnet is divided into three equal parts . What should be the polarity at the ends of middle part?