Go: package main

import "fmt"

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

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

C++: #include<set>
#include<iostream>
#include<ctime>
#include<string>
#include<cstdlib>
#include<algorithm>
#include<random>
#include<map>
#include<unordered_map>
#include<unordered_set>
#include<vector>
#include<list>
#include<queue>
#include<stack>
#include<functional>
#include<string.h>
#include<limits.h>
using namespace std;

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

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

int main(){
	int a, b;
	scanf("%d%d", &a, &b);
	printf("%d\n", (a+b)/2);
	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,sum;
	a = 0;
	b = 0;
	sum = 0;
	cin >> a >> b;
	sum = a + b;
	cout << sum/2;
	return 0;
}

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

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

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

int main(){

  int a, b, ans;

  cin >> a >> b;

  ans = (a + b) / 2;

  cout << ans << endl;

  return 0;




}

C++: #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
#define INF 1<<30
#define LINF 1LL<<60

/*
<url:http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0357>
?????????============================================================

 ????????§??????????????¨??¢??????????????´?????????????????´??????????????£???????????????
 ??¨????????????????????????????????????????????´???????¶????????????????????????????????????????????????????
 ???????????????????????´??????????????????????????????1000 ????????°??§??????
 
 ????????¨??¢??????????????£?????????????????????????????¨???????????????????????????????????????????????????????????°????????????????????????
 
 ?????????????????????????????£????????? a (1000 ??? a ??? 50000) ??¨??¢??????????????£????????? b (1000 ??? b ??? 50000) ?????????????????????
=================================================================

?§£??¬=============================================================
hai
================================================================
*/
int main(void) {
	cin.tie(0); ios::sync_with_stdio(false);
    ll a,b; cin >> a >> b;
    cout << (a+b)/2 << endl;
	return 0;
}

C++: #include<iostream>
#include<vector>
#include<algorithm>
#include<map>
#include<cstring>
#include<math.h>
#include<bitset>
#include<queue>
#include<set>
#include<iomanip>
#include<math.h>
#include<assert.h>
#include<string>
#include<cstdlib>
#include<cctype>
#include<unordered_map>
#include<sstream>
#include<numeric>
#include<stack>
// #include<bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int,int>;
constexpr ll INF = 1LL<<60;
const double INFD = 1e100;
const ll mod = 1000000007;
const double PI = 3.1415926535897932384626433832795028841971;
const int dx[4] = {1, 0, -1, 0};
const int dy[4] = {0, 1, 0, -1};
template<class T> inline bool chmin(T& a, T b) {
    if (a > b) {
        a = b;
        return true;
    }
    return false;
};
template<class T> inline bool chmax(T& a, T b) {
    if (a < b) {
        a = b;
        return true;
    }
    return false;
};

// intやllをstringに変換
template<typename T> inline string toString(const T &a){
  ostringstream oss;
  oss << a;
  return oss.str();
};
// ----------------------------------------------------------------------------

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;
	int ans = (a+b)/2;
	cout << ans << 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 <bits/stdc++.h>

using namespace std;

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

  return 0;
}

C++: #include <iostream>
using namespace std;
int main (){
int a,b;
cin>>a>>b;
a+=b;
a/=2;
cout<<a<<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<bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(int)n;i++)
#define all(c) (c).begin(),(c).end()
#define pb push_back
#define dbg(...) do{cerr<<__LINE__<<": ";dbgprint(#__VA_ARGS__, __VA_ARGS__);}while(0);

using namespace std;

namespace std{template<class S,class T>struct hash<pair<S,T>>{size_t operator()(const pair<S,T>&p)const{return ((size_t)1e9+7)*hash<S>()(p.first)+hash<T>()(p.second);}};template<class T>struct hash<vector<T>>{size_t operator()(const vector<T> &v)const{size_t h=0;for(auto i : v)h=h*((size_t)1e9+7)+hash<T>()(i)+1;return h;}};}
template<class T>ostream& operator<<(ostream &os, const vector<T> &v){os<<"[ ";rep(i,v.size())os<<v[i]<<(i==v.size()-1?" ]":", ");return os;}template<class T>ostream& operator<<(ostream &os,const set<T> &v){os<<"{ "; for(const auto &i:v)os<<i<<", ";return os<<"}";}
template<class T,class U>ostream& operator<<(ostream &os,const map<T,U> &v){os<<"{";for(const auto &i:v)os<<" "<<i.first<<": "<<i.second<<",";return os<<"}";}template<class T,class U>ostream& operator<<(ostream &os,const pair<T,U> &p){return os<<"("<<p.first<<", "<<p.second<<")";}
void dbgprint(const string &fmt){cerr<<endl;}template<class H,class... T>void dbgprint(const string &fmt,const H &h,const T&... r){cerr<<fmt.substr(0,fmt.find(","))<<"= "<<h<<" ";dbgprint(fmt.substr(fmt.find(",")+1),r...);}
typedef long long ll;typedef vector<int> vi;typedef pair<int,int> pi;const int inf = (int)1e9;const double INF = 1e12, EPS = 1e-9;

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

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

typedef long long ll;
typedef pair<ll, ll> P;

#define pb push_back
#define rep(i, n) for(int i = 0; i < (n); i++)
#define dep(i, a, n) for(int i = a; i >= (n); i--)
#define FOR(i, a, n) for(int i = a; i < (n); i++)
#define mod (ll)(1e9+7)
#define int ll
#define INF 100000000

__attribute__((constructor))
void initial() {
  cin.tie(0);
  ios::sync_with_stdio(false);
}

signed main() {
	ll 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, b;
	cin >> a >> b;
	cout << (a + b) / 2 << endl;



	return 0;
}

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

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

    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;
#define rep(i,n) for(int i=0;i<(int)(n);++i)
#define repone(i,n) for(int i=1;i<(int)(n);++i)
#define repo(i,o,n) for(int i=o;i<(int)(n);++i)
#define Rep(j,n) for(int j=0;j<(int)(n);++j)
#define Repo(j,o,n) for(int j=o;j<(int)(n);++j)
#define Repone(j,n) for(int j=1;j<(int)(n);++j)
#define all(v) (v).begin(),(v).end()
#define rall(v) (v).rbegin(),(v).rend()
#define int long long
#define MOD 1000000007
#define INF 9223372036854775807

signed main()
{
int x=0,y=0,z=0,w=0,n=0,d=0;
std::cin >> x>>y;
std::cout << (x+y)/2 << '\n';
}

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

int main() {
	int a, b;
	scanf_s("%d %d", &a, &b);
	printf("%d", (a + b) / 2);
	return 0;
}