Natalie had some marbles. She gave 1/3 of them to her brother,who kept 12 marbles for himself and gave the rest to 5 friends.If each friend received 7 marbles, how many marbles did Natalie have at firts?