print dependency tree