print(eval(input().replace(" ","*3+"))//2) print(eval(input().replace(" ","*3+"))//2) print eval(input().replace(" ","*3+"))//2 eval(input().replace(" ","*3+")) eval input().replace(" ","*3+") ().replace () input replace " " "*3+" 2
print(eval(input().replace(" ","*3+"))//2)