w = top[0][0] out.append(w) toks.append(w)