Go: package main

import "fmt"

func main() {
	var num1, num2 int
	fmt.Scan(&num1, &num2)

	fmt.Println((num1 + num2) / 2)
}

Python: 
a,b=map(int,input().split())
print((a+b)//2)

Python: a,b = map(int,input())
print((a+b)//2)

Python: a, b=map(int, input().split())
print(int((a+b)/2))

Python: a, b = map(int,input().split())
print(int((a+b)/2))

Python: a,b=(int(x) for x in input().split())
print(int((a+b)/2))

Python: a,b = input().split()
a = int(a)
b = int(b)
c = (a + b) /2
print(int(c))

Python: print(int(sum(map(int,input().split()))/2))

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
c=a+b
d=int(c/2)
print(d)

Python: a,b=map(int,input().split())

print((a+b)//2)

Python: print(sum(map(int,input().split()))//2)

Python: a,b = map(int,input().split())
print('{:.0f}'.format((a+b)/2))

Python: 
a,b=(int(x) for x in input().split())

print((a+b)//2)

Python: a, b = map(int, input().split())

print(int((a+b)/2))

Python: a, b = map(int, input().split())

money = int((a + b) / 2)
print(money)

Python: a,b= map(int,input().split())
print(int((a+b)/2))

Python: a,b = map(int,input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
print(int((a+b)*0.5))

Python: a, b = (int(x) for x in input().split())

print(int((a+b)/2))

Python: a,b = [int(i) for i in input().split()]
print(int((a+b)/2))

Python: a,b = map(int,input().split())

c = (a+b)
d = c//2
print(d)

Python: a,b=map(int,input().split())
print(int((a+b)/2))

Python: a,b=map(int,input().split())
print(int((a+b)/2))

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: a,b = map(int,input().split())
x = (a+b)//2
print(x)

Python: a,b = map(int,input().split())
print((a+b)//2)

Python: a, b = map(int, input().split())
print((a + b) // 2)

Python: a,b=map(int,input().split())
print(int((a+b)/2))

Python: a, b = [int(x) for x in input().split()]
print((a+b)//2)

Python: a,b=map(int,input().split())
s=a + b
y=s/2
print(int(y))

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
print(int((a+b)/2))

Python: a, b = map(int, input().split())
print((a+b)//2)

Python: a,b = map(int,list(input().split(" ")))
print((a+b)//2)

Python: print(int(sum(map(int,input().split()))/2))

Python: a,b=map(int, input().split())
print(int((a+b)/2))

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
print(int((a+b)/2))

Python: a, b = map(int, input().split())
print((a + b)//2)

Python: a,b=map(int,input().split())
x=(a+b)//2
print(x)

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: a, b = map(int,input().split())
c = (a+b)/2
print('{:.0f}'.format(c))

Python: a,b = map(int,input().split())

print(int((a+b)/2))

Python: a,b=map(int,input().split())
print(int((a+b)/2))

Python: a, b = map(int, input().split())



print((a + b) // 2)

Python: a,b=map(int,input().split())
print(int((a+b)/2))

Python: a, b = map(int, input().split())

print((a + b) // 2)

Python: a,b=(int(x) for x in input().split())

print((a+b)//2)

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: a,b = map(int,input().split(" "))
print((a+b)//2)

Python: a,b = map(int,input().split())
print((a+b)//2)

Python: import math
a, b = map(int, input().split())
print(math.floor((a + b)/ 2))

Python: a,b=map(int,input().split())
print('{:.0f}'.format((a+b)/2))

Python: import math
a,b=map(int,input().split())
c=int((a+b)/2)
print(c)

Python: a,b=(int(x) for x in input().split())

if a%1000==0 and b%1000==0:
    print(int((a+b)/2))

Python: a,b=map(int, input().split())
print("%d" % ((a+b)/2))

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: x=input().split()
y=list(map(int,x))
a=y[0]
b=y[1]
c=(a+b)//2
print(c)

Python: A,B = map(int,input().split())

print((A+B)//2)

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
print(int((a+b)/2))

Python: #!/usr/bin/python3
# coding: utf-8
a,b = map(int,input().split())
s = (a+b)//2
print(s)

Python: a,b=input().split()
a=int(a)
b=int(b)
print(int((a+b)/2))

Python: a,b=map(int,input().split())
print((a+b)/2)

Python: a, b = map(int, input().split())
print(int((a + b) / 2))

Python: print(sum(map(int,input().split()))//2)

Python: a,b=map(int,input().split())
print(int((a+b)/2))

Python: a,b=map(int,input().split())
print(int((a+b)/2))

Python: # coding: utf-8
# Your code here!
a,b = map(int,input().split())
print((a+b)//2)

Python: a,b = map(int,input().split())
print(int((a+b)/2))

Python: 	
a,b = map(int,input().split())
print((a+b)//2)

Python: print(sum(map(int,input().split()))//2)

Python: a,b = map(int, input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: import math
a,b=map(int,input().split())

print(math.floor((a+b)/2))

Python: # coding: utf-8
# Your code here!

a, b = map(int, input().split())
print(int((a + b) / 2))

Python: a,b=map(int,input().split())
print(int((a+b)/2))

Python: a,b = map(int,input().split())
print((a+b)//2)

Python: inp = input().split(" ")

print(inp)

Python: a,b = map(int,input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
X=(a+b)/2
print('{:0.0f}'.format(X))

Python: a = int(input())
b = int(input())
print((a + b)//2)

Python: a,b = map(int,input().split())
print((a+b)//2)

Python: a, b = map(int, input().split())
print((a + b) // 2)

Python: a, b = map(int, input().split())
print((a + b)//2)

Python: a,b=map(int,input().split())
c=int((a+b)/2)
print(c)

Python: a, b = map(int, input().split())



print((a + b) / 2)

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: print(sum(map(int,input().split()))>>1)

Python: a,b = map(int,input().split())
print(int((a+b)/2))

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: a,b=(int(x) for x in input().split())
print(round((a+b)/2))

Python: a,b = map(int,input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: a,b= map(int, input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
s=int((a+b)/2)
print(s)

Python: a,b=(int(x)for x in input().split())

print(
    format(
        (a+b)/2,'.0f'
        )
    )

Python: a , b ,  = map(int , input() . split())
c = (a + b) / 2
print(int(c))

Python: a,b = map(int,input().split())
y=a+b
x=divmod(y,2)
print(x[0])

Python: # coding: utf-8
# Your code here!
a,b=map(int,input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
c=int((a+b)/2)
print(c)

Python: a,b=map(int,input().split())
print(int((a+b)/2))

Python: a,b=map(int,input().split())

print(round((a+b)/2))

Python: a , b = map (int , input() . split())
print ( ( a + b ) // 2 )

Python: a,b= map(int,input().split())
print((int)((a+b)/2))

Python: a,b=map(int,input().split())
if 1000<=a<=50000 and 1000<=b<=50000:
    print(int((a+b)/2))
else:
    pass

Python: # 入力
a,b=map(int,input().split())

# 処理
print((a+b)//2)

Python: a, b = map(int, input().split())
print((a + b) // 2)

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
print((a+b)//2)

Python: a,b=map(int,input().split())
print(int((a+b)/2))

Python: a, b = map(int, input().split())
print((a+b) >> 1)

C++: #include <bits/stdc++.h>
using namespace std;

int main()
{
    int a, b;
    cin >> a >> b;
    cout << ( a + b ) / 2 << endl;
    return 0;
}

C++: #include<iostream>
using namespace std;

int main(){
  int a, b;
  cin >> a >> b;
  cout << (a + b) / 2 << endl;
  
  return 0;
}

C++: #include <iostream>
using namespace std;
int main(void){
   int a,b;
   cin>>a>>b;
   cout<<(a+b)/2<<endl;
}

C++: #include<iostream>
using namespace std;

int main(void){
	int a, b;
	cin >> a >> b;
	cout << (a+b)/2 << endl;
	return 0;
}

C++: #include <bits/stdc++.h>
#define rep(i,n)for(int i=0;i<(n);i++)
using namespace std;

int main(){
	int a,b;cin>>a>>b;
	cout<<(a+b)/2<<endl;
}