g(n)s=0gsns