a = [int(s) for s in input().split()]
b = int(a[0] * 3 + a[1])
print(int(b // 2)) int(s) for s in input().split() for s in input().split() s input().split() ().split () input split for s in input().split() int(s) int s a = [int(s) for s in input().split()] a [int(s) for s in input().split()] b = int(a[0] * 3 + a[1]) b int(a[0] * 3 + a[1]) int a[0] * 3 + a[1] a[0] * 3 a[0] a 0 3 a[1] a 1 print(int(b // 2)) print int(b // 2) int b // 2 b 2 a = [int(s) for s in input().split()] [int(s) for s in input().split()] a b = int(a[0] * 3 + a[1]) int(a[0] * 3 + a[1]) b
a = [int(s) for s in input().split()]
b = int(a[0] * 3 + a[1])
print(int(b // 2))