input: Write a function to efficiently filter elements greater than 2 from a given list. Return the filtered list as the result.
  
  def filter_greater_than_two(data):
   return [x for x in data if x > 2]
  
  assert filter_greater_than_two([1, 2, 3, 4])==[3, 4]
  assert filter_greater_than_two([2, 2, 2, 2])==[]
  assert filter_greater_than_two([3, 4, 5, 6])==[3, 4, 5, 6]
  assert filter_greater_than_two([])==[]
output: def filter_greater_than_two(data):
   return [x for x in data if x > 2]