'''words = 'mary has a little lamb in the house'
sentence = words.split()

print (list(len(word) for word in words if word !='the'))'''


#printing positive numbers
'''numbers = [34.6, -203.4, 44.9, 68.3, -12.2, 44.6, 12.7]
filtered_list = list(filter(lambda num:(num>0),numbers))
print(filtered_list)'''

#printing even numbers
'''numbers = [12, 54, 33, 67, 24, 89, 11, 24, 47]
x = list(filter(lambda y:(y%2 == 0),numbers))
#print(x)'''

words = ["hello", "my", "name", "is", "Sam"]
x=[" "]
print(x ,len(words))