The welfare effects of entry: the role of the input market