Take a hint

To understand what is hinted at and behave accordingly.

The man is unable to take a hint and does not notice when people want him to leave.