input: Write a function to efficiently filter out elements from a list that are greater than 2. Modify the given code to implement a more efficient approach.
  
  ### Function Signature:
  
  def filter_greater_than_two(data):
  
  
  ### Assert Tests:
  
  assert filter_greater_than_two([1, 2, 3, 4]) == [3, 4]
  assert filter_greater_than_two([5, 6, 7, 8]) == [5, 6, 7, 8]
  assert filter_greater_than_two([1, 2, 2, 1]) == []
  assert filter_greater_than_two([]) == []
  
  
  ### Function Implementation:
  
  def filter_greater_than_two(data):
      return [x for x in data if x > 2]
  
output: def filter_greater_than_two(data):
      return [x for x in data if x > 2]