Existence of solutions for a class of nonlinear evolution equations with nonmonotone perturbations