def count(x): return x.as_coeff_Mul()[0]
def count(x): return x.as_coeff_Mul()[0]
def key(x): return x.as_coeff_Mul()[1]
def key(x): return x.as_coeff_Mul()[1]
def count(x): return x.as_coeff_Mul()[0]
def count(x): return x.as_coeff_Mul()[0]
def key(x): return x.as_coeff_Mul()[1]
def key(x): return x.as_coeff_Mul()[1]