a = list(map(int,input().split()))
x = 3*a[0]
y = a[1]
z = (x+y)//2
print(z) a = list(map(int,input().split())) a list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split x = 3*a[0] x 3*a[0] 3 a[0] a 0 y = a[1] y a[1] a 1 z = (x+y)//2 z (x+y)//2 x+y x y 2 print(z) print z a = list(map(int,input().split())) list(map(int,input().split())) a y = a[1] a[1] y z = (x+y)//2 (x+y)//2 z x = 3*a[0] 3*a[0] x
a = list(map(int,input().split()))
x = 3*a[0]
y = a[1]
z = (x+y)//2
print(z)
