12p^2q|7mn^3|3p^3q^3|21n^4

Your notation is unclear. Also I am unclear as to what you are asking.