lst=[["(d*x+c)^4*cosh(b*x+a)","x",1], ["(d*x+c)^3*cosh(b*x+a)","x",1], ["(d*x+c)^2*cosh(b*x+a)","x",1], ["(d*x+c)*cosh(b*x+a)","x",1], ["cosh(b*x+a)/(d*x+c)","x",1], ["cosh(b*x+a)/(d*x+c)^2","x",1], ["cosh(b*x+a)/(d*x+c)^3","x",1], ["(d*x+c)^4*cosh(b*x+a)^2","x",1], ["(d*x+c)^3*cosh(b*x+a)^2","x",1], ["(d*x+c)^2*cosh(b*x+a)^2","x",1], ["(d*x+c)*cosh(b*x+a)^2","x",1], ["cosh(b*x+a)^2/(d*x+c)","x",1], ["cosh(b*x+a)^2/(d*x+c)^2","x",1], ["cosh(b*x+a)^2/(d*x+c)^3","x",1], ["cosh(b*x+a)^2/(d*x+c)^4","x",1], ["(d*x+c)^4*cosh(b*x+a)^3","x",1], ["(d*x+c)^3*cosh(b*x+a)^3","x",1], ["(d*x+c)^2*cosh(b*x+a)^3","x",1], ["(d*x+c)*cosh(b*x+a)^3","x",1], ["cosh(b*x+a)^3/(d*x+c)","x",1], ["cosh(b*x+a)^3/(d*x+c)^2","x",1], ["cosh(b*x+a)^3/(d*x+c)^3","x",1], ["x^3*cosh(b*x+a)^4","x",1], ["x^2*cosh(b*x+a)^4","x",1], ["x*cosh(b*x+a)^4","x",1], ["(d*x+c)^3*sech(b*x+a)","x",1], ["(d*x+c)^2*sech(b*x+a)","x",1], ["(d*x+c)*sech(b*x+a)","x",1], ["sech(b*x+a)/(d*x+c)","x",0], ["sech(b*x+a)/(d*x+c)^2","x",0], ["(d*x+c)^3*sech(b*x+a)^2","x",1], ["(d*x+c)^2*sech(b*x+a)^2","x",1], ["(d*x+c)*sech(b*x+a)^2","x",1], ["sech(b*x+a)^2/(d*x+c)","x",0], ["sech(b*x+a)^2/(d*x+c)^2","x",0], ["(d*x+c)^3*sech(b*x+a)^3","x",1], ["(d*x+c)^2*sech(b*x+a)^3","x",1], ["(d*x+c)*sech(b*x+a)^3","x",1], ["sech(b*x+a)^3/(d*x+c)","x",0], ["sech(b*x+a)^3/(d*x+c)^2","x",0], ["(d*x+c)^(5/2)*cosh(b*x+a)","x",1], ["(d*x+c)^(3/2)*cosh(b*x+a)","x",1], ["(d*x+c)^(1/2)*cosh(b*x+a)","x",1], ["cosh(b*x+a)/(d*x+c)^(1/2)","x",1], ["cosh(b*x+a)/(d*x+c)^(3/2)","x",1], ["cosh(b*x+a)/(d*x+c)^(5/2)","x",1], ["cosh(b*x+a)/(d*x+c)^(7/2)","x",1], ["(d*x+c)^(5/2)*cosh(b*x+a)^2","x",1], ["(d*x+c)^(3/2)*cosh(b*x+a)^2","x",1], ["(d*x+c)^(1/2)*cosh(b*x+a)^2","x",1], ["cosh(b*x+a)^2/(d*x+c)^(1/2)","x",1], ["cosh(b*x+a)^2/(d*x+c)^(3/2)","x",1], ["cosh(b*x+a)^2/(d*x+c)^(5/2)","x",1], ["cosh(b*x+a)^2/(d*x+c)^(7/2)","x",1], ["cosh(b*x+a)^2/(d*x+c)^(9/2)","x",1], ["(d*x+c)^(5/2)*cosh(b*x+a)^3","x",1], ["(d*x+c)^(3/2)*cosh(b*x+a)^3","x",1], ["(d*x+c)^(1/2)*cosh(b*x+a)^3","x",1], ["cosh(b*x+a)^3/(d*x+c)^(1/2)","x",1], ["cosh(b*x+a)^3/(d*x+c)^(3/2)","x",1], ["cosh(b*x+a)^3/(d*x+c)^(5/2)","x",1], ["cosh(b*x+a)^3/(d*x+c)^(7/2)","x",1], ["(d*x)^(3/2)*cosh(f*x)","x",1], ["(d*x)^(1/2)*cosh(f*x)","x",1], ["cosh(f*x)/(d*x)^(1/2)","x",1], ["cosh(f*x)/(d*x)^(3/2)","x",1], ["cosh(f*x)/(d*x)^(5/2)","x",1], ["(d*x+c)^(1/2)*sech(b*x+a)","x",0], ["sech(b*x+a)/(d*x+c)^(1/2)","x",0], ["cosh(x)^(3/2)/x^3","x",0], ["x/cosh(x)^(3/2)+x*cosh(x)^(1/2)","x",1], ["x/cosh(x)^(5/2)-1/3*x/cosh(x)^(1/2)","x",1], ["x/cosh(x)^(7/2)+3/5*x*cosh(x)^(1/2)","x",1], ["x^2/cosh(x)^(3/2)+x^2*cosh(x)^(1/2)","x",1], ["(d*x+c)^m*(b*cosh(f*x+e))^n","x",0], ["(d*x+c)^m*cosh(b*x+a)^3","x",1], ["(d*x+c)^m*cosh(b*x+a)^2","x",1], ["(d*x+c)^m*cosh(b*x+a)","x",1], ["(d*x+c)^m*sech(b*x+a)","x",0], ["(d*x+c)^m*sech(b*x+a)^2","x",0], ["x^(3+m)*cosh(b*x+a)","x",1], ["x^(2+m)*cosh(b*x+a)","x",1], ["x^(1+m)*cosh(b*x+a)","x",1], ["x^m*cosh(b*x+a)","x",1], ["x^(-1+m)*cosh(b*x+a)","x",1], ["x^(-2+m)*cosh(b*x+a)","x",1], ["x^(-3+m)*cosh(b*x+a)","x",1], ["x^(3+m)*cosh(b*x+a)^2","x",1], ["x^(2+m)*cosh(b*x+a)^2","x",1], ["x^(1+m)*cosh(b*x+a)^2","x",1], ["x^m*cosh(b*x+a)^2","x",1], ["x^(-1+m)*cosh(b*x+a)^2","x",1], ["x^(-2+m)*cosh(b*x+a)^2","x",1], ["x^(-3+m)*cosh(b*x+a)^2","x",1], ["x/sech(x)^(3/2)-1/3*x*sech(x)^(1/2)","x",1], ["x/sech(x)^(5/2)-3/5*x/sech(x)^(1/2)","x",1], ["x/sech(x)^(7/2)-5/21*x*sech(x)^(1/2)","x",1], ["x^2/sech(x)^(3/2)-1/3*x^2*sech(x)^(1/2)","x",1], ["(d*x+c)^3*(a+a*cosh(f*x+e))","x",1], ["(d*x+c)^2*(a+a*cosh(f*x+e))","x",1], ["(d*x+c)*(a+a*cosh(f*x+e))","x",1], ["(a+a*cosh(f*x+e))/(d*x+c)","x",1], ["(a+a*cosh(f*x+e))/(d*x+c)^2","x",1], ["(a+a*cosh(f*x+e))/(d*x+c)^3","x",1], ["(d*x+c)^3*(a+a*cosh(f*x+e))^2","x",1], ["(d*x+c)^2*(a+a*cosh(f*x+e))^2","x",1], ["(d*x+c)*(a+a*cosh(f*x+e))^2","x",1], ["(a+a*cosh(f*x+e))^2/(d*x+c)","x",1], ["(a+a*cosh(f*x+e))^2/(d*x+c)^2","x",1], ["(a+a*cosh(f*x+e))^2/(d*x+c)^3","x",1], ["(d*x+c)^3/(a+a*cosh(f*x+e))","x",1], ["(d*x+c)^2/(a+a*cosh(f*x+e))","x",1], ["(d*x+c)/(a+a*cosh(f*x+e))","x",1], ["1/(d*x+c)/(a+a*cosh(f*x+e))","x",0], ["1/(d*x+c)^2/(a+a*cosh(f*x+e))","x",0], ["(d*x+c)^3/(a+a*cosh(f*x+e))^2","x",1], ["(d*x+c)^2/(a+a*cosh(f*x+e))^2","x",1], ["(d*x+c)/(a+a*cosh(f*x+e))^2","x",1], ["1/(d*x+c)/(a+a*cosh(f*x+e))^2","x",0], ["1/(d*x+c)^2/(a+a*cosh(f*x+e))^2","x",0], ["x^3*(a+a*cosh(d*x+c))^(1/2)","x",1], ["x^2*(a+a*cosh(d*x+c))^(1/2)","x",1], ["x*(a+a*cosh(d*x+c))^(1/2)","x",1], ["(a+a*cosh(d*x+c))^(1/2)/x","x",1], ["(a+a*cosh(d*x+c))^(1/2)/x^2","x",1], ["(a+a*cosh(d*x+c))^(1/2)/x^3","x",1], ["x^3*(a+a*cosh(x))^(1/2)","x",1], ["x^2*(a+a*cosh(x))^(1/2)","x",1], ["x*(a+a*cosh(x))^(1/2)","x",1], ["(a+a*cosh(x))^(1/2)/x","x",1], ["(a+a*cosh(x))^(1/2)/x^2","x",1], ["(a+a*cosh(x))^(1/2)/x^3","x",1], ["x^3*(a+a*cosh(x))^(3/2)","x",1], ["x^2*(a+a*cosh(x))^(3/2)","x",1], ["x*(a+a*cosh(x))^(3/2)","x",1], ["(a+a*cosh(x))^(3/2)/x","x",1], ["(a+a*cosh(x))^(3/2)/x^2","x",1], ["(a+a*cosh(x))^(3/2)/x^3","x",1], ["x^3/(a+a*cosh(d*x+c))^(1/2)","x",1], ["x^2/(a+a*cosh(d*x+c))^(1/2)","x",1], ["x/(a+a*cosh(d*x+c))^(1/2)","x",1], ["1/x/(a+a*cosh(d*x+c))^(1/2)","x",0], ["1/x^2/(a+a*cosh(d*x+c))^(1/2)","x",0], ["x^3/(a+a*cosh(x))^(3/2)","x",1], ["x^2/(a+a*cosh(x))^(3/2)","x",1], ["x/(a+a*cosh(x))^(3/2)","x",1], ["1/x/(a+a*cosh(x))^(3/2)","x",0], ["1/x^2/(a+a*cosh(x))^(3/2)","x",0], ["(a+a*cosh(d*x+c))^(1/3)/x","x",0], ["(d*x+c)^m*(a+a*cosh(f*x+e))^n","x",0], ["(d*x+c)^m*(a+a*cosh(f*x+e))^3","x",1], ["(d*x+c)^m*(a+a*cosh(f*x+e))^2","x",1], ["(d*x+c)^m*(a+a*cosh(f*x+e))","x",1], ["(d*x+c)^m/(a+a*cosh(f*x+e))","x",0], ["(d*x+c)^m/(a+a*cosh(f*x+e))^2","x",0], ["(d*x+c)^3*(a+b*cosh(f*x+e))","x",1], ["(d*x+c)^2*(a+b*cosh(f*x+e))","x",1], ["(d*x+c)*(a+b*cosh(f*x+e))","x",1], ["(a+b*cosh(f*x+e))/(d*x+c)","x",1], ["(a+b*cosh(f*x+e))/(d*x+c)^2","x",1], ["(a+b*cosh(f*x+e))/(d*x+c)^3","x",1], ["(d*x+c)^3*(a+b*cosh(f*x+e))^2","x",1], ["(d*x+c)^2*(a+b*cosh(f*x+e))^2","x",1], ["(d*x+c)*(a+b*cosh(f*x+e))^2","x",1], ["(a+b*cosh(f*x+e))^2/(d*x+c)","x",1], ["(a+b*cosh(f*x+e))^2/(d*x+c)^2","x",1], ["(a+b*cosh(f*x+e))^2/(d*x+c)^3","x",1], ["(d*x+c)^3/(a+b*cosh(f*x+e))","x",1], ["(d*x+c)^2/(a+b*cosh(f*x+e))","x",1], ["(d*x+c)/(a+b*cosh(f*x+e))","x",1], ["1/(d*x+c)/(a+b*cosh(f*x+e))","x",0], ["1/(d*x+c)^2/(a+b*cosh(f*x+e))","x",0], ["(d*x+c)^3/(a+b*cosh(f*x+e))^2","x",1], ["(d*x+c)^2/(a+b*cosh(f*x+e))^2","x",1], ["(d*x+c)/(a+b*cosh(f*x+e))^2","x",1], ["1/(d*x+c)/(a+b*cosh(f*x+e))^2","x",0], ["1/(d*x+c)^2/(a+b*cosh(f*x+e))^2","x",0], ["(d*x+c)^m*(a+b*cosh(f*x+e))^n","x",0], ["(d*x+c)^m*(a+b*cosh(f*x+e))^3","x",1], ["(d*x+c)^m*(a+b*cosh(f*x+e))^2","x",1], ["(d*x+c)^m*(a+b*cosh(f*x+e))","x",1], ["(d*x+c)^m/(a+b*cosh(f*x+e))","x",0], ["(d*x+c)^m/(a+b*cosh(f*x+e))^2","x",0]]