lst=[["(b*tan(f*x+e)^2)^(5/2)","x",1], ["(b*tan(f*x+e)^2)^(3/2)","x",1], ["(b*tan(f*x+e)^2)^(1/2)","x",1], ["1/(b*tan(f*x+e)^2)^(1/2)","x",1], ["1/(b*tan(f*x+e)^2)^(3/2)","x",1], ["1/(b*tan(f*x+e)^2)^(5/2)","x",1], ["(b*tan(f*x+e)^3)^(5/2)","x",1], ["(b*tan(f*x+e)^3)^(3/2)","x",1], ["(b*tan(f*x+e)^3)^(1/2)","x",1], ["1/(b*tan(f*x+e)^3)^(1/2)","x",1], ["1/(b*tan(f*x+e)^3)^(3/2)","x",1], ["1/(b*tan(f*x+e)^3)^(5/2)","x",1], ["(b*tan(f*x+e)^4)^(5/2)","x",1], ["(b*tan(f*x+e)^4)^(3/2)","x",1], ["(b*tan(f*x+e)^4)^(1/2)","x",1], ["1/(b*tan(f*x+e)^4)^(1/2)","x",1], ["1/(b*tan(f*x+e)^4)^(3/2)","x",1], ["1/(b*tan(f*x+e)^4)^(5/2)","x",1], ["(b*tan(f*x+e)^n)^(5/2)","x",1], ["(b*tan(f*x+e)^n)^(3/2)","x",1], ["(b*tan(f*x+e)^n)^(1/2)","x",1], ["1/(b*tan(f*x+e)^n)^(1/2)","x",1], ["1/(b*tan(f*x+e)^n)^(3/2)","x",1], ["1/(b*tan(f*x+e)^n)^(5/2)","x",1], ["(b*tan(f*x+e)^n)^p","x",1], ["(b*tan(f*x+e)^2)^p","x",1], ["(b*tan(f*x+e)^3)^p","x",1], ["(b*tan(f*x+e)^4)^p","x",1], ["(b*tan(f*x+e)^n)^(1/n)","x",1], ["sin(f*x+e)^5*(a+b*tan(f*x+e)^2)","x",1], ["sin(f*x+e)^3*(a+b*tan(f*x+e)^2)","x",1], ["sin(f*x+e)*(a+b*tan(f*x+e)^2)","x",1], ["csc(f*x+e)*(a+b*tan(f*x+e)^2)","x",1], ["csc(f*x+e)^3*(a+b*tan(f*x+e)^2)","x",1], ["csc(f*x+e)^5*(a+b*tan(f*x+e)^2)","x",1], ["sin(f*x+e)^6*(a+b*tan(f*x+e)^2)","x",1], ["sin(f*x+e)^4*(a+b*tan(f*x+e)^2)","x",1], ["sin(f*x+e)^2*(a+b*tan(f*x+e)^2)","x",1], ["a+b*tan(f*x+e)^2","x",1], ["csc(f*x+e)^2*(a+b*tan(f*x+e)^2)","x",1], ["csc(f*x+e)^4*(a+b*tan(f*x+e)^2)","x",1], ["csc(f*x+e)^6*(a+b*tan(f*x+e)^2)","x",1], ["sin(f*x+e)^5*(a+b*tan(f*x+e)^2)^2","x",1], ["sin(f*x+e)^3*(a+b*tan(f*x+e)^2)^2","x",1], ["sin(f*x+e)*(a+b*tan(f*x+e)^2)^2","x",1], ["csc(f*x+e)*(a+b*tan(f*x+e)^2)^2","x",1], ["csc(f*x+e)^3*(a+b*tan(f*x+e)^2)^2","x",1], ["csc(f*x+e)^5*(a+b*tan(f*x+e)^2)^2","x",1], ["sin(f*x+e)^4*(a+b*tan(f*x+e)^2)^2","x",1], ["sin(f*x+e)^2*(a+b*tan(f*x+e)^2)^2","x",1], ["(a+b*tan(f*x+e)^2)^2","x",1], ["csc(f*x+e)^2*(a+b*tan(f*x+e)^2)^2","x",1], ["csc(f*x+e)^4*(a+b*tan(f*x+e)^2)^2","x",1], ["csc(f*x+e)^6*(a+b*tan(f*x+e)^2)^2","x",1], ["sin(f*x+e)^5/(a+b*tan(f*x+e)^2)","x",1], ["sin(f*x+e)^3/(a+b*tan(f*x+e)^2)","x",1], ["sin(f*x+e)/(a+b*tan(f*x+e)^2)","x",1], ["csc(f*x+e)/(a+b*tan(f*x+e)^2)","x",1], ["csc(f*x+e)^3/(a+b*tan(f*x+e)^2)","x",1], ["csc(f*x+e)^5/(a+b*tan(f*x+e)^2)","x",1], ["sin(f*x+e)^6/(a+b*tan(f*x+e)^2)","x",1], ["sin(f*x+e)^4/(a+b*tan(f*x+e)^2)","x",1], ["sin(f*x+e)^2/(a+b*tan(f*x+e)^2)","x",1], ["1/(a+b*tan(f*x+e)^2)","x",1], ["csc(f*x+e)^2/(a+b*tan(f*x+e)^2)","x",1], ["csc(f*x+e)^4/(a+b*tan(f*x+e)^2)","x",1], ["csc(f*x+e)^6/(a+b*tan(f*x+e)^2)","x",1], ["sin(f*x+e)^5/(a+b*tan(f*x+e)^2)^2","x",1], ["sin(f*x+e)^3/(a+b*tan(f*x+e)^2)^2","x",1], ["sin(f*x+e)/(a+b*tan(f*x+e)^2)^2","x",1], ["csc(f*x+e)/(a+b*tan(f*x+e)^2)^2","x",1], ["csc(f*x+e)^3/(a+b*tan(f*x+e)^2)^2","x",1], ["csc(f*x+e)^5/(a+b*tan(f*x+e)^2)^2","x",1], ["sin(f*x+e)^4/(a+b*tan(f*x+e)^2)^2","x",1], ["sin(f*x+e)^2/(a+b*tan(f*x+e)^2)^2","x",1], ["1/(a+b*tan(f*x+e)^2)^2","x",1], ["csc(f*x+e)^2/(a+b*tan(f*x+e)^2)^2","x",1], ["csc(f*x+e)^4/(a+b*tan(f*x+e)^2)^2","x",1], ["csc(f*x+e)^6/(a+b*tan(f*x+e)^2)^2","x",1], ["sin(f*x+e)^5/(a+b*tan(f*x+e)^2)^3","x",1], ["sin(f*x+e)^3/(a+b*tan(f*x+e)^2)^3","x",1], ["sin(f*x+e)/(a+b*tan(f*x+e)^2)^3","x",1], ["csc(f*x+e)/(a+b*tan(f*x+e)^2)^3","x",1], ["csc(f*x+e)^3/(a+b*tan(f*x+e)^2)^3","x",1], ["csc(f*x+e)^5/(a+b*tan(f*x+e)^2)^3","x",1], ["sin(f*x+e)^4/(a+b*tan(f*x+e)^2)^3","x",1], ["sin(f*x+e)^2/(a+b*tan(f*x+e)^2)^3","x",1], ["1/(a+b*tan(f*x+e)^2)^3","x",1], ["csc(f*x+e)^2/(a+b*tan(f*x+e)^2)^3","x",1], ["csc(f*x+e)^4/(a+b*tan(f*x+e)^2)^3","x",1], ["csc(f*x+e)^6/(a+b*tan(f*x+e)^2)^3","x",1], ["sin(f*x+e)^5*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["sin(f*x+e)^3*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["sin(f*x+e)*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["csc(f*x+e)*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["csc(f*x+e)^3*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["csc(f*x+e)^5*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["sin(f*x+e)^4*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["sin(f*x+e)^2*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["csc(f*x+e)^2*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["csc(f*x+e)^4*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["csc(f*x+e)^6*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["sin(f*x+e)^5*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["sin(f*x+e)^3*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["sin(f*x+e)*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["csc(f*x+e)*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["csc(f*x+e)^3*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["csc(f*x+e)^5*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["sin(f*x+e)^4*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["sin(f*x+e)^2*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["csc(f*x+e)^2*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["csc(f*x+e)^4*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["csc(f*x+e)^6*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["sin(f*x+e)^5/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["sin(f*x+e)^3/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["sin(f*x+e)/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["csc(f*x+e)/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["csc(f*x+e)^3/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["csc(f*x+e)^5/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["sin(f*x+e)^4/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["sin(f*x+e)^2/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["1/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["csc(f*x+e)^2/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["csc(f*x+e)^4/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["csc(f*x+e)^6/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["sin(f*x+e)^5/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["sin(f*x+e)^3/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["sin(f*x+e)/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["csc(f*x+e)/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["csc(f*x+e)^3/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["csc(f*x+e)^5/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["sin(f*x+e)^4/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["sin(f*x+e)^2/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["1/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["csc(f*x+e)^2/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["csc(f*x+e)^4/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["csc(f*x+e)^6/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["sin(f*x+e)^5/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["sin(f*x+e)^3/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["sin(f*x+e)/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["csc(f*x+e)/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["csc(f*x+e)^3/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["csc(f*x+e)^5/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["sin(f*x+e)^4/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["sin(f*x+e)^2/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["1/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["csc(f*x+e)^2/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["csc(f*x+e)^4/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["csc(f*x+e)^6/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["(d*sin(f*x+e))^m*(b*tan(f*x+e)^2)^p","x",1], ["(d*sin(f*x+e))^m*(a+b*tan(f*x+e)^2)^p","x",1], ["sin(f*x+e)^5*(a+b*tan(f*x+e)^2)^p","x",1], ["sin(f*x+e)^3*(a+b*tan(f*x+e)^2)^p","x",1], ["sin(f*x+e)*(a+b*tan(f*x+e)^2)^p","x",1], ["csc(f*x+e)*(a+b*tan(f*x+e)^2)^p","x",1], ["csc(f*x+e)^3*(a+b*tan(f*x+e)^2)^p","x",1], ["sin(f*x+e)^2*(a+b*tan(f*x+e)^2)^p","x",1], ["(a+b*tan(f*x+e)^2)^p","x",1], ["csc(f*x+e)^2*(a+b*tan(f*x+e)^2)^p","x",1], ["csc(f*x+e)^4*(a+b*tan(f*x+e)^2)^p","x",1], ["csc(f*x+e)^6*(a+b*tan(f*x+e)^2)^p","x",1], ["(d*sin(f*x+e))^m*(b*(c*tan(f*x+e))^n)^p","x",1], ["sin(f*x+e)^2*(b*(c*tan(f*x+e))^n)^p","x",1], ["(b*(c*tan(f*x+e))^n)^p","x",1], ["csc(f*x+e)^2*(b*(c*tan(f*x+e))^n)^p","x",1], ["csc(f*x+e)^4*(b*(c*tan(f*x+e))^n)^p","x",1], ["csc(f*x+e)^6*(b*(c*tan(f*x+e))^n)^p","x",1], ["sin(f*x+e)^3*(b*(c*tan(f*x+e))^n)^p","x",1], ["sin(f*x+e)*(b*(c*tan(f*x+e))^n)^p","x",1], ["csc(f*x+e)*(b*(c*tan(f*x+e))^n)^p","x",1], ["csc(f*x+e)^3*(b*(c*tan(f*x+e))^n)^p","x",1], ["(d*sin(f*x+e))^m*(a+b*tan(f*x+e)^n)^p","x",0], ["(d*cos(f*x+e))^m*(b*tan(f*x+e)^2)^p","x",1], ["(d*cos(f*x+e))^m*(a+b*tan(f*x+e)^2)^p","x",1], ["(d*cos(f*x+e))^m*(b*(c*tan(f*x+e))^n)^p","x",1], ["(d*cos(f*x+e))^m*(a+b*(c*tan(f*x+e))^n)^p","x",0], ["(a+a*tan(d*x+c)^2)^4","x",1], ["(a+a*tan(d*x+c)^2)^3","x",1], ["(a+a*tan(d*x+c)^2)^2","x",1], ["1/(a+a*tan(d*x+c)^2)","x",1], ["1/(a+a*tan(d*x+c)^2)^2","x",1], ["1/(a+a*tan(d*x+c)^2)^3","x",1], ["tan(f*x+e)^5*(a+b*tan(f*x+e)^2)","x",1], ["tan(f*x+e)^3*(a+b*tan(f*x+e)^2)","x",1], ["tan(f*x+e)*(a+b*tan(f*x+e)^2)","x",1], ["cot(f*x+e)*(a+b*tan(f*x+e)^2)","x",1], ["cot(f*x+e)^3*(a+b*tan(f*x+e)^2)","x",1], ["cot(f*x+e)^5*(a+b*tan(f*x+e)^2)","x",1], ["tan(f*x+e)^6*(a+b*tan(f*x+e)^2)","x",1], ["tan(f*x+e)^4*(a+b*tan(f*x+e)^2)","x",1], ["tan(f*x+e)^2*(a+b*tan(f*x+e)^2)","x",1], ["a+b*tan(f*x+e)^2","x",1], ["cot(f*x+e)^2*(a+b*tan(f*x+e)^2)","x",1], ["cot(f*x+e)^4*(a+b*tan(f*x+e)^2)","x",1], ["cot(f*x+e)^6*(a+b*tan(f*x+e)^2)","x",1], ["tan(f*x+e)^5*(a+b*tan(f*x+e)^2)^2","x",1], ["tan(f*x+e)^3*(a+b*tan(f*x+e)^2)^2","x",1], ["tan(f*x+e)*(a+b*tan(f*x+e)^2)^2","x",1], ["cot(f*x+e)*(a+b*tan(f*x+e)^2)^2","x",1], ["cot(f*x+e)^3*(a+b*tan(f*x+e)^2)^2","x",1], ["cot(f*x+e)^5*(a+b*tan(f*x+e)^2)^2","x",1], ["tan(f*x+e)^6*(a+b*tan(f*x+e)^2)^2","x",1], ["tan(f*x+e)^4*(a+b*tan(f*x+e)^2)^2","x",1], ["tan(f*x+e)^2*(a+b*tan(f*x+e)^2)^2","x",1], ["(a+b*tan(f*x+e)^2)^2","x",1], ["cot(f*x+e)^2*(a+b*tan(f*x+e)^2)^2","x",1], ["cot(f*x+e)^4*(a+b*tan(f*x+e)^2)^2","x",1], ["cot(f*x+e)^6*(a+b*tan(f*x+e)^2)^2","x",1], ["tan(f*x+e)^5/(a+b*tan(f*x+e)^2)","x",1], ["tan(f*x+e)^3/(a+b*tan(f*x+e)^2)","x",1], ["tan(f*x+e)/(a+b*tan(f*x+e)^2)","x",1], ["cot(f*x+e)/(a+b*tan(f*x+e)^2)","x",1], ["cot(f*x+e)^3/(a+b*tan(f*x+e)^2)","x",1], ["cot(f*x+e)^5/(a+b*tan(f*x+e)^2)","x",1], ["tan(f*x+e)^6/(a+b*tan(f*x+e)^2)","x",1], ["tan(f*x+e)^4/(a+b*tan(f*x+e)^2)","x",1], ["tan(f*x+e)^2/(a+b*tan(f*x+e)^2)","x",1], ["1/(a+b*tan(f*x+e)^2)","x",1], ["cot(f*x+e)^2/(a+b*tan(f*x+e)^2)","x",1], ["cot(f*x+e)^4/(a+b*tan(f*x+e)^2)","x",1], ["cot(f*x+e)^6/(a+b*tan(f*x+e)^2)","x",1], ["tan(f*x+e)^5/(a+b*tan(f*x+e)^2)^2","x",1], ["tan(f*x+e)^3/(a+b*tan(f*x+e)^2)^2","x",1], ["tan(f*x+e)/(a+b*tan(f*x+e)^2)^2","x",1], ["cot(f*x+e)/(a+b*tan(f*x+e)^2)^2","x",1], ["cot(f*x+e)^3/(a+b*tan(f*x+e)^2)^2","x",1], ["cot(f*x+e)^5/(a+b*tan(f*x+e)^2)^2","x",1], ["tan(f*x+e)^6/(a+b*tan(f*x+e)^2)^2","x",1], ["tan(f*x+e)^4/(a+b*tan(f*x+e)^2)^2","x",1], ["tan(f*x+e)^2/(a+b*tan(f*x+e)^2)^2","x",1], ["1/(a+b*tan(f*x+e)^2)^2","x",1], ["cot(f*x+e)^2/(a+b*tan(f*x+e)^2)^2","x",1], ["cot(f*x+e)^4/(a+b*tan(f*x+e)^2)^2","x",1], ["cot(f*x+e)^6/(a+b*tan(f*x+e)^2)^2","x",1], ["tan(f*x+e)^5/(a+b*tan(f*x+e)^2)^3","x",1], ["tan(f*x+e)^3/(a+b*tan(f*x+e)^2)^3","x",1], ["tan(f*x+e)/(a+b*tan(f*x+e)^2)^3","x",1], ["cot(f*x+e)/(a+b*tan(f*x+e)^2)^3","x",1], ["cot(f*x+e)^3/(a+b*tan(f*x+e)^2)^3","x",1], ["cot(f*x+e)^5/(a+b*tan(f*x+e)^2)^3","x",1], ["tan(f*x+e)^6/(a+b*tan(f*x+e)^2)^3","x",1], ["tan(f*x+e)^4/(a+b*tan(f*x+e)^2)^3","x",1], ["tan(f*x+e)^2/(a+b*tan(f*x+e)^2)^3","x",1], ["1/(a+b*tan(f*x+e)^2)^3","x",1], ["cot(f*x+e)^2/(a+b*tan(f*x+e)^2)^3","x",1], ["cot(f*x+e)^4/(a+b*tan(f*x+e)^2)^3","x",1], ["cot(f*x+e)^6/(a+b*tan(f*x+e)^2)^3","x",1], ["(a+b*tan(d*x+c)^2)^4","x",1], ["(a+b*tan(d*x+c)^2)^3","x",1], ["(a+b*tan(d*x+c)^2)^2","x",1], ["a+b*tan(d*x+c)^2","x",1], ["1/(a+b*tan(d*x+c)^2)","x",1], ["1/(a+b*tan(d*x+c)^2)^2","x",1], ["1/(a+b*tan(d*x+c)^2)^3","x",1], ["tan(x)^4*(a+a*tan(x)^2)^(1/2)","x",1], ["tan(x)^3*(a+a*tan(x)^2)^(1/2)","x",1], ["tan(x)^2*(a+a*tan(x)^2)^(1/2)","x",1], ["tan(x)*(a+a*tan(x)^2)^(1/2)","x",1], ["cot(x)*(a+a*tan(x)^2)^(1/2)","x",1], ["cot(x)^2*(a+a*tan(x)^2)^(1/2)","x",1], ["cot(x)^3*(a+a*tan(x)^2)^(1/2)","x",1], ["cot(x)^4*(a+a*tan(x)^2)^(1/2)","x",1], ["(a+a*tan(d*x+c)^2)^(1/2)","x",1], ["tan(x)^3*(a+a*tan(x)^2)^(3/2)","x",1], ["tan(x)^2*(a+a*tan(x)^2)^(3/2)","x",1], ["tan(x)*(a+a*tan(x)^2)^(3/2)","x",1], ["cot(x)*(a+a*tan(x)^2)^(3/2)","x",1], ["cot(x)^2*(a+a*tan(x)^2)^(3/2)","x",1], ["(a+a*tan(d*x+c)^2)^(3/2)","x",1], ["(a+a*tan(d*x+c)^2)^(5/2)","x",1], ["tan(x)^3/(a+a*tan(x)^2)^(1/2)","x",1], ["tan(x)^2/(a+a*tan(x)^2)^(1/2)","x",1], ["tan(x)/(a+a*tan(x)^2)^(1/2)","x",1], ["cot(x)/(a+a*tan(x)^2)^(1/2)","x",1], ["cot(x)^2/(a+a*tan(x)^2)^(1/2)","x",1], ["tan(x)^3/(a+a*tan(x)^2)^(3/2)","x",1], ["tan(x)^2/(a+a*tan(x)^2)^(3/2)","x",1], ["tan(x)/(a+a*tan(x)^2)^(3/2)","x",1], ["cot(x)/(a+a*tan(x)^2)^(3/2)","x",1], ["cot(x)^2/(a+a*tan(x)^2)^(3/2)","x",1], ["1/(a+a*tan(d*x+c)^2)^(1/2)","x",1], ["1/(a+a*tan(d*x+c)^2)^(3/2)","x",1], ["1/(a+a*tan(d*x+c)^2)^(5/2)","x",1], ["1/(a+a*tan(d*x+c)^2)^(7/2)","x",1], ["(1+tan(x)^2)^(3/2)","x",1], ["(1+tan(x)^2)^(1/2)","x",1], ["1/(1+tan(x)^2)^(1/2)","x",1], ["(-1-tan(x)^2)^(3/2)","x",1], ["(-1-tan(x)^2)^(1/2)","x",1], ["1/(-1-tan(x)^2)^(1/2)","x",1], ["tan(f*x+e)^5*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["tan(f*x+e)^3*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["tan(f*x+e)*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["cot(f*x+e)*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["cot(f*x+e)^3*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["cot(f*x+e)^5*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["tan(f*x+e)^6*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["tan(f*x+e)^4*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["tan(f*x+e)^2*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["cot(f*x+e)^2*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["cot(f*x+e)^4*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["cot(f*x+e)^6*(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["tan(f*x+e)^5*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["tan(f*x+e)^3*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["tan(f*x+e)*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["cot(f*x+e)*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["cot(f*x+e)^3*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["cot(f*x+e)^5*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["tan(f*x+e)^6*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["tan(f*x+e)^4*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["tan(f*x+e)^2*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["cot(f*x+e)^2*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["cot(f*x+e)^4*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["cot(f*x+e)^6*(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["(a+b*tan(d*x+c)^2)^(5/2)","x",1], ["tan(f*x+e)^5/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["tan(f*x+e)^3/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["tan(f*x+e)/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["cot(f*x+e)/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["cot(f*x+e)^3/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["cot(f*x+e)^5/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["tan(f*x+e)^6/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["tan(f*x+e)^4/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["tan(f*x+e)^2/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["1/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["cot(f*x+e)^2/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["cot(f*x+e)^4/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["cot(f*x+e)^6/(a+b*tan(f*x+e)^2)^(1/2)","x",1], ["tan(f*x+e)^5/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["tan(f*x+e)^3/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["tan(f*x+e)/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["cot(f*x+e)/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["cot(f*x+e)^3/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["cot(f*x+e)^5/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["tan(f*x+e)^6/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["tan(f*x+e)^4/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["tan(f*x+e)^2/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["1/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["cot(f*x+e)^2/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["cot(f*x+e)^4/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["cot(f*x+e)^6/(a+b*tan(f*x+e)^2)^(3/2)","x",1], ["tan(f*x+e)^5/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["tan(f*x+e)^3/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["tan(f*x+e)/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["cot(f*x+e)/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["cot(f*x+e)^3/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["cot(f*x+e)^5/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["tan(f*x+e)^6/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["tan(f*x+e)^4/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["tan(f*x+e)^2/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["1/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["cot(f*x+e)^2/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["cot(f*x+e)^4/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["cot(f*x+e)^6/(a+b*tan(f*x+e)^2)^(5/2)","x",1], ["(d*tan(f*x+e))^m*(b*tan(f*x+e)^2)^p","x",1], ["(d*tan(f*x+e))^m*(a+b*tan(f*x+e)^2)^p","x",1], ["tan(f*x+e)^5*(a+b*tan(f*x+e)^2)^p","x",1], ["tan(f*x+e)^3*(a+b*tan(f*x+e)^2)^p","x",1], ["tan(f*x+e)*(a+b*tan(f*x+e)^2)^p","x",1], ["cot(f*x+e)*(a+b*tan(f*x+e)^2)^p","x",1], ["cot(f*x+e)^3*(a+b*tan(f*x+e)^2)^p","x",1], ["cot(f*x+e)^5*(a+b*tan(f*x+e)^2)^p","x",1], ["tan(f*x+e)^6*(a+b*tan(f*x+e)^2)^p","x",1], ["tan(f*x+e)^4*(a+b*tan(f*x+e)^2)^p","x",1], ["tan(f*x+e)^2*(a+b*tan(f*x+e)^2)^p","x",1], ["(a+b*tan(f*x+e)^2)^p","x",1], ["cot(f*x+e)^2*(a+b*tan(f*x+e)^2)^p","x",1], ["cot(f*x+e)^4*(a+b*tan(f*x+e)^2)^p","x",1], ["cot(f*x+e)^6*(a+b*tan(f*x+e)^2)^p","x",1], ["(a+b*tan(d*x+c)^3)^4","x",1], ["(a+b*tan(d*x+c)^3)^3","x",1], ["(a+b*tan(d*x+c)^3)^2","x",1], ["a+b*tan(d*x+c)^3","x",1], ["1/(a+b*tan(d*x+c)^3)","x",1], ["1/(a+b*tan(d*x+c)^3)^2","x",1], ["1/(1+tan(x)^3)","x",1], ["(a+b*tan(d*x+c)^4)^4","x",1], ["(a+b*tan(d*x+c)^4)^3","x",1], ["(a+b*tan(d*x+c)^4)^2","x",1], ["a+b*tan(d*x+c)^4","x",1], ["1/(a+b*tan(d*x+c)^4)","x",1], ["1/(a+b*tan(d*x+c)^4)^2","x",1], ["(a+b*tan(d*x+c)^4)^(1/2)","x",1], ["1/(a+b*tan(d*x+c)^4)^(1/2)","x",1], ["tan(x)^3*(a+b*tan(x)^4)^(1/2)","x",1], ["tan(x)*(a+b*tan(x)^4)^(1/2)","x",1], ["cot(x)*(a+b*tan(x)^4)^(1/2)","x",1], ["tan(x)^2*(a+b*tan(x)^4)^(1/2)","x",1], ["tan(x)^3*(a+b*tan(x)^4)^(3/2)","x",1], ["tan(x)*(a+b*tan(x)^4)^(3/2)","x",1], ["cot(x)*(a+b*tan(x)^4)^(3/2)","x",1], ["cot(x)^3*(a+b*tan(x)^4)^(3/2)","x",1], ["cot(x)^5*(a+b*tan(x)^4)^(3/2)","x",1], ["tan(x)^3/(a+b*tan(x)^4)^(1/2)","x",1], ["tan(x)/(a+b*tan(x)^4)^(1/2)","x",1], ["cot(x)/(a+b*tan(x)^4)^(1/2)","x",1], ["tan(x)^2/(a+b*tan(x)^4)^(1/2)","x",1], ["tan(x)^3/(a+b*tan(x)^4)^(3/2)","x",1], ["tan(x)/(a+b*tan(x)^4)^(3/2)","x",1], ["cot(x)/(a+b*tan(x)^4)^(3/2)","x",1], ["tan(x)^3/(a+b*tan(x)^4)^(5/2)","x",1], ["tan(x)/(a+b*tan(x)^4)^(5/2)","x",1], ["cot(x)/(a+b*tan(x)^4)^(5/2)","x",1], ["(d*tan(f*x+e))^m*(a+b*(c*tan(f*x+e))^(1/2))^2","x",1], ["(d*tan(f*x+e))^m*(a+b*(c*tan(f*x+e))^(1/2))","x",1], ["(d*tan(f*x+e))^m/(a+b*(c*tan(f*x+e))^(1/2))","x",1], ["(d*tan(f*x+e))^m/(a+b*(c*tan(f*x+e))^(1/2))^2","x",1], ["(d*tan(f*x+e))^m*(b*(c*tan(f*x+e))^n)^p","x",1], ["tan(f*x+e)^2*(b*(c*tan(f*x+e))^n)^p","x",1], ["(b*(c*tan(f*x+e))^n)^p","x",1], ["cot(f*x+e)^2*(b*(c*tan(f*x+e))^n)^p","x",1], ["cot(f*x+e)^4*(b*(c*tan(f*x+e))^n)^p","x",1], ["cot(f*x+e)^6*(b*(c*tan(f*x+e))^n)^p","x",1], ["tan(f*x+e)^3*(b*(c*tan(f*x+e))^n)^p","x",1], ["tan(f*x+e)*(b*(c*tan(f*x+e))^n)^p","x",1], ["cot(f*x+e)*(b*(c*tan(f*x+e))^n)^p","x",1], ["cot(f*x+e)^3*(b*(c*tan(f*x+e))^n)^p","x",1], ["(d*tan(f*x+e))^m*(a+b*(c*tan(f*x+e))^n)^p","x",0], ["(d*cot(f*x+e))^m*(b*tan(f*x+e)^2)^p","x",1], ["(d*cot(f*x+e))^m*(a+b*tan(f*x+e)^2)^p","x",1], ["(d*cot(f*x+e))^m*(b*(c*tan(f*x+e))^n)^p","x",1], ["(d*cot(f*x+e))^m*(a+b*(c*tan(f*x+e))^n)^p","x",0], ["sec(d*x+c)^3*(a+b*tan(d*x+c)^2)","x",1], ["sec(d*x+c)*(a+b*tan(d*x+c)^2)","x",1], ["cos(d*x+c)*(a+b*tan(d*x+c)^2)","x",1], ["cos(d*x+c)^3*(a+b*tan(d*x+c)^2)","x",1], ["cos(d*x+c)^5*(a+b*tan(d*x+c)^2)","x",1], ["cos(d*x+c)^7*(a+b*tan(d*x+c)^2)","x",1], ["sec(d*x+c)^6*(a+b*tan(d*x+c)^2)","x",1], ["sec(d*x+c)^4*(a+b*tan(d*x+c)^2)","x",1], ["sec(d*x+c)^2*(a+b*tan(d*x+c)^2)","x",1], ["cos(d*x+c)^2*(a+b*tan(d*x+c)^2)","x",1], ["cos(d*x+c)^4*(a+b*tan(d*x+c)^2)","x",1], ["cos(d*x+c)^6*(a+b*tan(d*x+c)^2)","x",1], ["sec(d*x+c)^3*(a+b*tan(d*x+c)^2)^2","x",1], ["sec(d*x+c)*(a+b*tan(d*x+c)^2)^2","x",1], ["cos(d*x+c)*(a+b*tan(d*x+c)^2)^2","x",1], ["cos(d*x+c)^3*(a+b*tan(d*x+c)^2)^2","x",1], ["cos(d*x+c)^5*(a+b*tan(d*x+c)^2)^2","x",1], ["cos(d*x+c)^7*(a+b*tan(d*x+c)^2)^2","x",1], ["cos(d*x+c)^9*(a+b*tan(d*x+c)^2)^2","x",1], ["sec(d*x+c)^6*(a+b*tan(d*x+c)^2)^2","x",1], ["sec(d*x+c)^4*(a+b*tan(d*x+c)^2)^2","x",1], ["sec(d*x+c)^2*(a+b*tan(d*x+c)^2)^2","x",1], ["cos(d*x+c)^2*(a+b*tan(d*x+c)^2)^2","x",1], ["cos(d*x+c)^4*(a+b*tan(d*x+c)^2)^2","x",1], ["cos(d*x+c)^6*(a+b*tan(d*x+c)^2)^2","x",1], ["sec(d*x+c)^5/(a+b*tan(d*x+c)^2)","x",1], ["sec(d*x+c)^3/(a+b*tan(d*x+c)^2)","x",1], ["sec(d*x+c)/(a+b*tan(d*x+c)^2)","x",1], ["cos(d*x+c)/(a+b*tan(d*x+c)^2)","x",1], ["cos(d*x+c)^3/(a+b*tan(d*x+c)^2)","x",1], ["cos(d*x+c)^5/(a+b*tan(d*x+c)^2)","x",1], ["sec(d*x+c)^8/(a+b*tan(d*x+c)^2)","x",1], ["sec(d*x+c)^6/(a+b*tan(d*x+c)^2)","x",1], ["sec(d*x+c)^4/(a+b*tan(d*x+c)^2)","x",1], ["sec(d*x+c)^2/(a+b*tan(d*x+c)^2)","x",1], ["cos(d*x+c)^2/(a+b*tan(d*x+c)^2)","x",1], ["cos(d*x+c)^4/(a+b*tan(d*x+c)^2)","x",1], ["sec(d*x+c)^7/(a+b*tan(d*x+c)^2)^2","x",1], ["sec(d*x+c)^5/(a+b*tan(d*x+c)^2)^2","x",1], ["sec(d*x+c)^3/(a+b*tan(d*x+c)^2)^2","x",1], ["sec(d*x+c)/(a+b*tan(d*x+c)^2)^2","x",1], ["cos(d*x+c)/(a+b*tan(d*x+c)^2)^2","x",1], ["cos(d*x+c)^3/(a+b*tan(d*x+c)^2)^2","x",1], ["sec(d*x+c)^8/(a+b*tan(d*x+c)^2)^2","x",1], ["sec(d*x+c)^6/(a+b*tan(d*x+c)^2)^2","x",1], ["sec(d*x+c)^4/(a+b*tan(d*x+c)^2)^2","x",1], ["sec(d*x+c)^2/(a+b*tan(d*x+c)^2)^2","x",1], ["cos(d*x+c)^2/(a+b*tan(d*x+c)^2)^2","x",1], ["cos(d*x+c)^4/(a+b*tan(d*x+c)^2)^2","x",1], ["(d*sec(f*x+e))^m*(b*tan(f*x+e)^2)^p","x",1], ["(d*sec(f*x+e))^m*(a+b*tan(f*x+e)^2)^p","x",1], ["(d*sec(f*x+e))^m*(b*(c*tan(f*x+e))^n)^p","x",1], ["sec(f*x+e)^6*(b*(c*tan(f*x+e))^n)^p","x",1], ["sec(f*x+e)^4*(b*(c*tan(f*x+e))^n)^p","x",1], ["sec(f*x+e)^2*(b*(c*tan(f*x+e))^n)^p","x",1], ["(b*(c*tan(f*x+e))^n)^p","x",1], ["cos(f*x+e)^2*(b*(c*tan(f*x+e))^n)^p","x",1], ["sec(f*x+e)^3*(b*(c*tan(f*x+e))^n)^p","x",1], ["sec(f*x+e)*(b*(c*tan(f*x+e))^n)^p","x",1], ["cos(f*x+e)*(b*(c*tan(f*x+e))^n)^p","x",1], ["cos(f*x+e)^3*(b*(c*tan(f*x+e))^n)^p","x",1], ["(d*sec(f*x+e))^m*(a+b*(c*tan(f*x+e))^n)^p","x",0], ["sec(f*x+e)^3*(a+b*(c*tan(f*x+e))^n)^p","x",0], ["sec(f*x+e)*(a+b*(c*tan(f*x+e))^n)^p","x",0], ["cos(f*x+e)*(a+b*(c*tan(f*x+e))^n)^p","x",0], ["cos(f*x+e)^3*(a+b*(c*tan(f*x+e))^n)^p","x",0], ["sec(f*x+e)^6*(a+b*(c*tan(f*x+e))^n)^p","x",1], ["sec(f*x+e)^4*(a+b*(c*tan(f*x+e))^n)^p","x",1], ["sec(f*x+e)^2*(a+b*(c*tan(f*x+e))^n)^p","x",1], ["(a+b*(c*tan(f*x+e))^n)^p","x",0], ["cos(f*x+e)^2*(a+b*(c*tan(f*x+e))^n)^p","x",0], ["(d*csc(f*x+e))^m*(b*tan(f*x+e)^2)^p","x",1], ["(d*csc(f*x+e))^m*(a+b*tan(f*x+e)^2)^p","x",1], ["(d*csc(f*x+e))^m*(b*(c*tan(f*x+e))^n)^p","x",1], ["(d*csc(f*x+e))^m*(a+b*(c*tan(f*x+e))^n)^p","x",0]]