Wally purchased a bag of marbles on Monday. On Tuesday he gave half of the marbles to his brother, James. On Wednesday he gave t
en marbles to his sister. On Thursday he gave twenty marbles to his other sister. Wally had fifty marbles left. How many marbles did Wally purchase on Monday?