An electron beam is shot into a region where there is both an electric field pointing upward

An electron beam is shot into a region where there is both an electric field pointing upward and a magnetic field B of unknown direction. In order to keep the electrons in a straight line, which direction should the magnetic force act?