(S (S (NP (BASENP (DT The) (NNS scientists)) (PP (IN on) (BASENP (DT the) (NN project)))) (VP (VP (VBD ranked) (S (VP (VP (VBG having) (BASENP (JJ low-quality) (NNS relationships))) (PP (IN with) (BASENP (NNS friends) (CC and) (NN family)))))) (PP (IN as) (ADJP (ADJP (JJ equivalent) (PP (TO to) (NP (BASENP (JJ frequent) (NN substance) (NN abuse)) (PRN (LRB -LRB-) (SBAR (WHNP (WDT that)) (S (VP (VBZ is) (S (VP (TO to) (VP (VB say) (COMMA ,) (NP (NP (BASENP (NN 15) (NNS cigarettes)) (BASENP (DT a) (NN day))) (CC or) (BASENP (JJ heavy) (NN alcohol) (NN consumption))))))))) (RRB -RRB-))))) (CC but) (ADJP (ADJP (JJR worse) (PP (IN for) (NP (BASENP (DT a) (NN person) (POS 's)) (NN health)))) (PP (IN than) (S (VP (VP (RB not) (VP (VBG participating) (PP (IN in) (BASENP (NN exercise))))) (CC and) (VP (VBG being) (ADJP (JJ obese))))))))))) (PERIOD .))