###瞎猜的
class Coordinate:
    def __init__(self,x , y) -> None:
        self.x = x
        self.y = y
    def __str__(self):
        return "({}, {})".format(self.x,self.y)
    def __add__(self,  c):
        return Coordinate(self.x + c.x ,self.y + c.y)

if __name__ == '__main__':
    a = input().split()
    b = input().split()
    obj1 = Coordinate(int(a[0]), int(a[1]))
    obj2 = Coordinate(int(b[0]), int(b[1]))
    print(obj1+obj2)