input: 
  def intersection(set1: set, set2: set) -> set:
      """
      This function takes two sets of integers as input and returns the intersection of those sets.
      >>> intersection({1, 2, 3, 4}, {3, 4, 5, 6})
      {3, 4}
      >>> intersection({10, 20, 30}, {30, 40, 50})
      {30}
      """
      return set1 & set2
  
output:     return set1 & set2