A horizontal wire carries a current as shown in Figure below between magnetic poles N and S:
Is the direction of the force on the wire due to the magnet:
The direction of the force on the wire due to the magnet is vertically upwards.