input: from typing import List
  
  
  def find_pair(lst: List[int], target: int) -> List[int]:
      """ Finds a pair of numbers from the given list that add up to the given target.
      >>> find_pair([1, 2, 3, 4, 4, 5, 6], 8)
      [2, 6]
      """
output:     seen = set()
      for num in lst:
          complement = target - num
          if complement in seen:
              return [complement, num]
          seen.add(num)
      return []