a, p= input().split(" ")
b = 3 * int(a)
c = (b + int(p)) // 2
print(c) a, p= input().split(" ") a input().split(" ") ().split () input split " " p b = 3 * int(a) b 3 * int(a) 3 int(a) int a c = (b + int(p)) // 2 c (b + int(p)) // 2 b + int(p) b int(p) int p 2 print(c) print c a, p= input().split(" ") input().split(" ") a p= input().split(" ") input().split(" ") p b = 3 * int(a) 3 * int(a) b c = (b + int(p)) // 2 (b + int(p)) // 2 c
a, p= input().split(" ")
b = 3 * int(a)
c = (b + int(p)) // 2
print(c)