A man purchased $510 worth savings bonds in denominations of $15 and $30, including at least 1 of each denomination. He gave away 8 of the bonds as gifts but then lost all the rest of the bonds he had purchased. If the number of $30 bonds he gave away was a multiple of the number of $15 bonds he gave away, what was maximum possible value of the bonds that he lost?