input: from typing import Any
  
  class Sum:
      def __init__(self, x: int, y: int) -> None:
          self.x = x
          self.y = y
          
      def add(self) -> int:
          """ Calculate the sum of two integers.
          >>> Sum(3, 4).add()
          7
          >>> Sum(-1, 1).add()
          0
          """
          return self.x + self.y
output:     def __eq__(self, other: Any) -> bool:
          if isinstance(other, Sum):
              return self.x == other.x and self.y == other.y
          return False