import re


def takeOutNumbers(listWords):
    """
    Takes a list of words and removes all numbers that are alone or a only seperated by h.
    Permits to keep words that exist with a number (ex: 3SAT)
    """
    pattern = re.compile(r"\d{1,2}h\d{0,2}$") #removes hours
    noHours = [pattern.sub("", i) for i in listWords] 
    return list(filter(lambda x : not x.isdecimal(), noHours))