bert left the house with n dollars . he spent 1 / 3 of this at the hardware store , then $ 7 at the dry cleaners , and then half of what was left at the grocery store . when he got home , he had $ 10.50 left in his pocket . what was the value of n ?