✅ 정답 공개
class Vector:
def __init__(self, x, y): self.x=x; self.y=y
def __add__(self, other): return Vector(self.x+other.x, self.y+other.y)
def __repr__(self): return f'{self.x} {self.y}'
ax,ay=map(int,input().split())
bx,by=map(int,input().split())
print(Vector(ax,ay)+Vector(bx,by))