Factorizing the classical inequalities