Three boys collected marbles. Paul collected 4w marbles which was one quarter as many as what Vaidev collected. Jenson collected 8 marbles less than Paul. How many marbles did they collect altogether? Give the answer in terms of w in the simplest form.