input: 
  def intersection(set1, set2):
      """ Generate a python program that takes two sets of integers as input and outputs the intersection of those sets.
      >>> intersection({1, 2, 3, 4}, {3, 4, 5, 6})
      {3, 4}
      >>> intersection({5, 6, 7, 8}, {7, 8, 9, 10})
      {8, 7}
      """
      return set1 & set2
  
output:     return set1 & set2