input = Graph g forEach v in g.vertices say(v.value) next say("done")