a,p = [int(a) for a in input().split()]
b = int((a*3)/2 + p/2)
print(b) int(a) for a in input().split() for a in input().split() a input().split() ().split () input split for a in input().split() int(a) int a a,p = [int(a) for a in input().split()] a [int(a) for a in input().split()] p b = int((a*3)/2 + p/2) b int((a*3)/2 + p/2) int (a*3)/2 + p/2 (a*3)/2 a*3 a 3 2 p/2 p 2 print(b) print b a,p = [int(a) for a in input().split()] [int(a) for a in input().split()] a b = int((a*3)/2 + p/2) int((a*3)/2 + p/2) b p = [int(a) for a in input().split()] [int(a) for a in input().split()] p
a,p = [int(a) for a in input().split()]
b = int((a*3)/2 + p/2)
print(b)