A boy invested $860 of his Bar Mitzvah money. He put part of it in the bank at 4.5% interest and lent the remainder to his parents at 7%. If after one year the interest on these investments was $51.95, find how much did he put in the bank?