# Map
myList = [2,4,5,7,8]

mapSample = list(map(lambda x: x if(x>4) else 0, myList))
print(mapSample)

# Filter
myList = [2,4,5,7,8]

mapSample = list(filter(lambda x: x if(x>4) else 0, myList))
print(mapSample)