A piece of neveilah mixed with two kosher pieces of the same kind, dry into dry, is nullified in a majority, and all the pieces are permitted. As the Shulchan Aruch wrote, one may eat them one by one, but not all three together. The Rema wrote that lechatchilah one should be accustomed accordingly.