class Coordinate(object): def __init__(self,x,y): self.x = x self.y = y def __str__(self): print(f'({self.x}, {self.y})') def __add__(self): list1 = list(map(int,self.x.split())) list2 = list(map(int,self.y.split())) self.x = list1[0] + list2[0] self.y = list2[1] + list1[1] c = Coordinate(input(),input()) c.__add__() c.__str__()