A bag contains white marbles and green marbles, 59 in total. The number of white marbles is 7 more than 3 times the number of green marbles. How many white marbles are there?