class Vector(object): def __init__(self, x: int, y: int): self.x = x self.y = y def add(self, other): return Vector(self.x + other.x, self.y + other.y)