Create a function in Python to extract all words from a sentence that are greater than 3 chars in length.
This is a sample sentence
def extract_long_words(s):
 words = s.split()
 filtered = [w for w in words if len(w) > 3]
 return filtered