Almost nonnegative curvature operator and cohomology rings