input: from typing import List
  
  def find_integer_difference(nums1: List[int], nums2: List[int]) -> int:
      """
      Given two lists of identical length, nums1 and nums2.
  
      An integer x has been added (or subtracted if negative) to each element in nums1.
  
      As a result, nums1 becomes identical to nums2. Two lists are considered identical if they have the same elements in identical frequencies.
  
      Return the integer x.
  
      Examples:
      >>> nums1 = [2,6,4], nums2 = [9,7,5]
      3
      >>> nums1 = [10], nums2 = [5]
      -5
      >>> nums1 = [1,1,1,1], nums2 = [1,1,1,1]
      0
  
      Constraints:
      1 <= nums1.length == nums2.length <= 100
      0 <= nums1[i], nums2[i] <= 1000
      The test cases are designed in a way that there is an integer x such that nums1 can match nums2 by adding x to each element of nums1.
      """
output:     return nums2[0] - nums1[0]