Go: package main

import "fmt"

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

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

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(){
    int a,b;
    cin>>a>>b;
    cout<<(a+b)/2<<endl;
    return 0;
}

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

	return 0;
}

C++: #include<bits/stdc++.h>
using namespace std;
#define lp(i,n) for(int i=0;i<n;i++)
#define lpin(a,i,n) for(int i=0;i<n;i++){cin>>a[i];}
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,c,d;
  cin >> a >> b;
  c = a + b;
  d = c / 2;
  cout << d << endl;
  return(0);
}

C++: #include <stdio.h>

int main(void){

int a,b;
int ans;

scanf("%d %d",&a,&b);


ans=(a+b)/2;

printf("%d\n",ans);

return 0;
}

C++: #include <stdio.h>

int main(void){
	
	int a,b;

	scanf("%d %d",&a,&b);

	printf("%d\n",a+b/2);

	return 0;
}

C++: #include <iostream>
int main(void){
int x,y;
std::cin >> x >> y;
std::cout << ((x+y)/2) << std::endl;
return 0;
}

C++: #include <stdio>
int main(void){
	int a,b;
	scanf("%d %d",&a,&b);
	printf("%d\n",(a+b)/2);
	return 0;
}

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

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

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

C++: #include<stdio.h>
#include<iostream>
using namespace std;
int main(){
	int a=0,b=0,sum=0,answer=0;
	cin>>a;
	cin>>b;
	sum=a+b;
	answer=sum/2;
	cout<<answer<<endl;
	return (0);
}

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

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

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(){
	int a, b;
	cin >> a >> b;
	cout << a + b << 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 <bits/stdc++.h>
using namespace std::literals::string_literals;
using i64 = long long;
using std::cout;
using std::endl;
using std::cin;

template<typename T>
std::vector<T> make_v(size_t a){return std::vector<T>(a);}

template<typename T,typename... Ts>
auto make_v(size_t a,Ts... ts){
  return std::vector<decltype(make_v<T>(ts...))>(a,make_v<T>(ts...));
}

int main() {
	int a, b; scanf("%d%d", &a, &b);
	
	printf("%d\n", (a + b) >> 1);
	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(){
	int a, b;

	cin >> a >> b;
	cout << (a + b) / 2 << endl;

}

C++: #include <iostream>

using namespace std;

int main()
{
	int a = 0, b = 0, c = 0;

	cin >> a >> b;
	c = (a + b) / 2;

	cout << c << endl;

}

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

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

template<class T> void vin(vector<T>& v, int n) {
    v.resize(n);
    for (int i = 0; i < n; ++i) {
        cin >> v[i];
    }
}

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

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

int main(){
     int a,b;

     cin >> a >> b;

     cout << (a+b)/2 << endl;

     return 0;
}

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

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

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

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

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

C++: #include <cstdio>
#include <iostream>
#include <string>
#include <cstdlib>
#include <vector>
#include <algorithm>
#include <functional>
#include <iomanip>
using namespace std;

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

C++: #include<algorithm>
#include <bits/stdc++.h>
#include <math.h>
#include <queue>
using namespace std;
int main(void){
	int a,b;
	cin>>a>>b;
	cout<<(a+b)/2<<endl;
	return 0;
}

C++: #include<iostream>
#include<stdio.h>
using namespace std;
#include<math.h>
int main()
{
	int a,b;
	cin>>a>>b;
	cout<<(a+b)/2<<endl;
	return 0;
}

C++: #include <iostream>
#include <string>

using namespace std;
int main()
{
	int a, b, c;

	cin >> a >> b;

	c = (a + b) / 2;

	cout << c << 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 <bits/stdc++.h>
using namespace std;

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

C++: #include <iostream>
#include <bits/stdc++.h>

#define Max(a,b) max({a,b})
#define Min(a,b) min({a,b})
#define rep(i,m,n) for(int (i)=(m);(i)<(int)(n);(i)++)
#define len(n) n.size()
#define print(n) cout << (n) << endl;


// s.substr(i,n)

typedef long long ll;

using namespace std;

//char a = 65;
long long int inf = 1000000007;
int n,m,a,b,c,d,cou,co;
long long int lla,llb,llc;
double k;
const ll LINF = 1e18;
char num = 65;
string s,t;
int lis[20];
/*
int binary(int bina){
    int ans = 0;
    for (int i = 0; bina>0 ; i++)
    {
        ans = ans+(bina%2)*pow(10,i);
        bina = bina/2;
    }
    return ans;
}
*/

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

    return 0;
}

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>
int main(){
    int a, b;
    std::cin >> a >> b;
    std::cout << (a+b)/2 << std::endl;
    return 0;
}

C++: #include <bits/stdc++.h>
using namespace std;
 
int main() {
    int a, b;
    cin >> a >> b ;

    cout << (a+b)/2 << endl;

}

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

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

  return 0;
}

C++: #include <bits/stdc++.h>

#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define rep(i,n) FOR(i,0,n)
#define repr(i,n) for(int i=(n)-1;0<=i;--i)
#define each(e,v) for(auto&& e:(v))
#define all(v) begin(v),end(v)
#define dump(x) cerr<<#x<<": "<<(x)<<endl
#define INF 100000000
#define IINF 9999999999999;
using std::cin;
using std::cout;
using std::endl;
using std::ios;
using vint = std::vector<int>;
using ll = long long;
using vll = std::vector<ll>;
template <class T> void chmin(T& a, const T& b) { a = std::min(a, b); }
template <class T> void chmax(T& a, const T& b) { a = std::max(a, b); }

// 1

int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);

    int A, B;
    cin >> A >> B;
    cout << (A + B) / 2 << endl;
}

C++: #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;

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