Mr Cash invested $80,000 dollars in various stocks and bonds. He earned a 7% dividend on his stocks, and 5% interest on his bonds, for a one year profit (from both stocks and bonds) of $4900. How much did Mr Cash invest in bonds?