A circular loop of radius a, carrying a current i, is placed in a two-dimensional magnetic field. The centre of the loop coincides with the centre of the field (figure). The strength of the magnetic field at the periphery of the loop is B. Find the magnetic force on the wire.