Close...

You're doing the right thing with the hint, you just put it in the wrong place.