def brackets(s):
    """
	Return True if the parentheses match, False otherwise.

	>>> brackets("())")
	False

	>>> brackets("(()())")
	True

	>>> brackets("w(h)(a()t)")
	True
	"""
    x = 0
    for i in s:
        if i == '(':
            x += 1
        elif i == ')':
            x -= 1
        if x < 0:
            return False
    return not x
