def METHOD_NAME(s):
    """Prevent recursions with ccache ccache ..."""
    l = s.split()
    last = None
    res = []
    for i in l:
        if i == last:
            pass
        else:
            res.append(i)
            last = i
    return ' '.join(res)