chalk it up as the worst kind of hubristic folly . 
(ROOT (S (VP (VB chalk) (NP (PRP it)) (PRT (RP up)) (PP (IN as) (NP (NP (DT the) (JJS worst) (NN kind)) (PP (IN of) (NP (JJ hubristic) (NN folly)))))) (. .)))
(ROOT (S (VP (VB ) (NP (PRP )) (PRT (RP )) (PP (IN ) (NP (NP (DT ) (JJS ) (NN )) (PP (IN ) (NP (JJ ) (NN )))))) (. )))