  D-dimensional cosmological model describing the evolution of a perfect fluid
with negative pressure (x-fluid) and a fluid possessing both shear and bulk
viscosity in n Ricci-flat spaces is investigated. The second equations of state
are chosen in some special form of metric dependence of the shear and bulk
viscosity coefficients. The equations of motion are integrated and the
dynamical properties of the exact solutions are studied. It is shown the
possibility to resolve the cosmic coincidence problem when the x-fluid plays
role of quintessence and the viscous fluid is used as cold dark matter.
