There are 50 dollars and greg spent 10 how much money is left over