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(void){
    int a, b; //A君とB君がそれぞれもらったお年玉の金額

    cin >> a >> b;
    int average = (a + b) / 2;

    cout << average << endl;
}

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

#define REP(i, n) for (int i = 0; i < (n); i++)
#define FOR(i, init, n) for(int i = init; i < (n); i++)
#define ALL(obj) (obj).begin(), (obj).end()
#define fi first
#define se second

using namespace std;
using ll = long long int;
using P = pair<int, int>;
using T = tuple<int, int, int>;
using edge = struct
{
    int to, cost;
};

const int MOD = 1e9 + 7;
const int iINF = 1e9;
const long long int llINF = 1e18;
const double PI = acos(-1.0);

const int dx[4] = {1, 0, -1, 0};
const int dy[4] = {0, 1, 0, -1};

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

    int a, b;
    cin >> a >> b;

    cout << (a + b) / 2 << endl;
    
    return 0;
}

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

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

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

int main() {
	int a, b;
	scanf("%d %d", &a, &b);
	printf("%d", (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;
  return 0;
}

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

int main(){
    int n,m;
    cin >> n >> m;
    int ans=(n+m)/2;
    cout << ans << endl;
    return 0;
}

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

using namespace std;

using i64 = int64_t;
const i64 MOD = 1e9 + 7;
const i64 INF = i64(1e18) + 7;


signed 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;
#define FOR(i,a,b) for(int i=(a);i<(b);i++)
#define REP(i,n) FOR(i,0,n)
#define ALL(v) (v).begin(),(v).end()
#define fi first
#define se second
template<typename A, typename B> inline bool chmax(A &a, B b) { if (a<b) { a=b; return 1; } return 0; }
template<typename A, typename B> inline bool chmin(A &a, B b) { if (a>b) { a=b; return 1; } return 0; }
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<int, pii> pip;
const ll INF = 1ll<<29;
const ll MOD = 1000000007;
const double EPS = 1e-10;
const bool debug = 0;

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(){
  long long a,b;
  cin >> a >> b;
  cout << (a+b)/2 << endl;
  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++: #define _USE_MATH_DEFINES
#include<bits/stdc++.h>
#define int long long
#define rep(i,n) for(int i=0;i<n;i++)
#define Rep(i,a,b) for(int i=0;i<b;i++)
#define REP(i,a,b) for(int i=0;i<=b;i++)
#define rev(i,n) for(int i=n-1;i>=0;i--)
#define vi vector<int>
#define vvi vector<vi>
#define pb push_back
#define pi pair<int,int>
#define vp vector<pair<int,int>>
#define mp make_pair
#define all(v) (v).begin(),(v).end()
#define fi first
#define se second
#define MEMSET(a) memset(a,0,sizeof(a))
#define inf (1ll<<60)
#define Yes(f) cout <<(f?"Yes":"No")<<endl//fが真の場合Yesを出力、偽の場合Noを出力
#define yes(f) cout <<(f?"yes":"no")<<endl
#define YES(f) cout <<(f?"YES":"NO")<<endl
#define SORT(v) sort(all(v))
#define RSORT(v) sort(all(v),greater<int>())

using namespace std;

const int mod=1e9+7;



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

C++: #include <iostream>
#include <algorithm>
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,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
using namespace std;
int main(){
  int a, b;
  cin>>a>>b;
  cost<<(a+b)/2<<endl:
}

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;

  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 <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<bits/stdc++.h>
using namespace std;
int main(){
  int a,b,n,s,f;
  int t[1001]={};
  int q[1001]={};
  cin >> a >> b >> n;
  for(int i=0; i<n; i++){
        cin >> s >> f;
        for(int j=s; j<f+1; j++){
          t[j] = 1;
          q[s] = 1; q[f] = 2;
        }
  }
  /*for(int i=0; i<11; i++){
    cout << t[i]  <<  " ";
    if(i==10) cout << endl;
  }
  for(int i=0; i<11; i++){
    cout << q[i] << " ";
  }*/
        if(t[a]==0 && t[b]==0 || q[a]==2 && q[b]==1) cout << 0 << endl;
        else cout << 1 << endl;

  return 0;
}

C++: #include<iostream>
#include<set>
#include <bitset>
#include<queue>
#include<vector>
#include<map>
#include<stack>
#include <cstdio>
#include<algorithm>
#include <sstream>
#include<string>
#include<string.h>
#include <cmath>
#include <iomanip>
#include <string>
#include<list>
#include <limits>
#include <numeric>
#include <type_traits>
#define int long long
#define ll long long
#define mod  1000000007
#define inf 1e17
#define rep(i,j,n) for(int i=j;i<n;i++)
#define P pair<int,int>
double pi = 3.141592653589793;
using namespace std;
//ここから始めよう
signed main(){
    int a,b;cin>>a>>b;
    cout<<(a+b)/2<<endl;
    return 0;
}

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

int main(){
    long int a,b,sum;
    cin >> a >> b;
    sum=(a+b)/2;
    cout << sum << '\n';

    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;
    return 0;
}