On her way to het grandmothers house, Jackie trabled three times as many miles by train as by bus. She travled four times as many miles by bus as by foot. If jackie travled 34 miles in all, how many miles did she travel by train?