(S (S (BASENP (DT The) (NN train)) (VP (VBD was) (VP (VP (VBG heading) (PP (IN from) (NP (BASENP (DT the) (JJ northeastern) (NN town)) (PP (IN of) (BASENP (NNP Bijelo) (NNP Polje)))))) (PP (TO to) (NP (BASENP (DT the) (JJ Montenegrin) (JJ coastal) (NN city)) (PP (IN of) (BASENP (NNP Bar)))))))) (PERIOD .))