Go: package main

import "fmt"

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

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

C++: #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = 1e16;
const ll mod = 1000000007;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)

template<class T> inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template<class T> inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
int ctoi(char c) {
  if (c >= '0' && c <= '9') {
    return c - '0';
  }
  return 0;
}
ll factorial(ll n) {
  if (n == 1) {
    return 1;
  }
  ll ans = factorial(n-1);
  return ans*n;
}
ll gcd(ll a, ll b) {
  if (b == 0) return a;
  return gcd(b, a%b);
}
ll lcm(ll a, ll b) {
  return (a/gcd(a, b))*b;
}
bool is_prime(ll n) {
  for (ll i = 2; i*i <= n; i++) {
    if (n%i == 0) return false;
  }
  return n != 1;
}
ll mod_pow(ll x, ll n, ll mod) {
  if (n == 0) return 1;
  ll res = mod_pow(x*x%mod, n/2, mod);
  if (n & 1) res = res * x % mod;
  return res;
}

int main() {
    ll n, m;
    cin >> n >> m;
    cout << (n+m)/2 << endl;
}

C++: #include<iostream>
int main() {
	int ANIJA, OTOJA;
	std::cin >> ANIJA >> OTOJA;
	std::cout << (ANIJA + OTOJA) / 2 << std::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;
	return 0;
}

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

using namespace std;

#define int long long
#define INF 1e9
#define LINF 1e18

typedef unsigned long long ull;
typedef pair<int, int> P;
typedef pair<int, P> Pi;

typedef pair<P, P> PP;

const int MOD = 1e9 + 7;
const int dy[] = { 0, 0, 1, -1 };
const int dx[] = { 1, -1, 0, 0 };

template <class T> void chmin(T& a, const T& b) { a = min(a, b); }
template <class T> void chmax(T& a, const T& b) { a = max(a, b); }

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

	int a, b;
	cin >> a >> b;
	cout << (a + b) / 2 << "\n";
	return 0;
}

C++: #include<iostream>;

using namespace std;

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

C++: #include <bits/stdc++.h>
const double PI = acos(-1);
#define rep(i, n) for (int i = 0; i < (int)(n); i++ )
using namespace std;
int findSumOfDigits(int n) {
  int sum = 0;
  while (n > 0) { // n が 0 になるまで
    sum += n % 10;
    n /= 10;
  }
  return sum;
}
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>

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

C++: #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef vector<vvll> vvvll;
typedef vector<string> vstr;
typedef pair<ll, ll> pll;
typedef vector<pll> vp;
typedef map<ll, ll> mll;
typedef map<string, ll> mstrll;
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define fir first
#define sec second
#define maxs(x, y) (x = max(x, y))
#define mins(x, y) (x = min(x, y))
#define all(x) begin(x), end(x)
#define rall(x) rbegin(x), rend(x)
#define _overload3(_1, _2, _3, name, ...) name
#define _rep(i, n) repi(i, 0, n)
#define repi(i, a, b) for(ll i = ll(a); i < ll(b); i++)
#define rep(...) _overload3(__VA_ARGS__, repi, _rep,)(__VA_ARGS__)
#define each(i, n) for(auto&& i: n)
#define out(x) cout << (x)
#define indent() cout << '\n'
#define print(x) cout << (x) << '\n'
#define debug(x) cerr << #x << ": " << (x) << '\n'
ll gcd(ll a, ll b){return b != 0 ? gcd(b, a % b) : a;}
ll lcm(ll a, ll b){return a / gcd(a, b) * b;}
const ll INF = 1e16;
const ll MOD = 1e9 + 7;
ll a, b, c, n, m, x, y, z, w, h, ans, cnt, mx, mn;
string s, t;
ll dx[] = {-1, 0, 1, 0}, dy[] = {0, -1, 0, 1};
//vll dx = {-1, 0, 1, -1, 1, -1, 0, 1}, dy = {-1, -1, -1, 0, 0, 1, 1, 1};
string alphabet = "abcdefghijklmnopqrstuvwxyz";

signed main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    while(cin >> n >> m){
        print((n + m) / 2);
    }
}

C++: #include<bits/stdc++.h>
using namespace std;
int main(void)
{
	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 x, y;

    cin >> x >> y;

    cout << (x + y)/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(){
    long int a,b,num;
    cin>>a>>b;

    num=(a+b)/2;
    cout<<num<<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(){
  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 =  (a + b) / 2;
  cout << c;

  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 endl '\n'

using namespace std;

int main(){

  cin.tie(0);     // cout と cin の同期を切る
  ios::sync_with_stdio(false);  /* cの stdioストリーム (printfとか)と*/

  int a,b;

  cin>>a>>b;

  cout<<(a+b)/2<<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>
#include <iostream>

using namespace std;

int main()
{
	int a, b;
	
	cin >> a >> b;

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

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

int main(){
  int a, b;
  cin >> a >> b;

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

C++: #include <bits/stdc++.h>
#include <assert.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<iostream>;

using namespace std;

int main()
{
	int a, b;
	a = 0;
	b = 0;
	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;

    return 0;
}

C++: #include<iostream>
#include<vector>
#include<cmath>
#define _GLIBCXX_DEBUG
using namespace std;

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

C++: #include<iostream>
#include<string>
#include<algorithm>	
#include<cmath>
using namespace std;
int main() {
	int n, a, b; cin >> a >> b;
	cout << (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;
}

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, c;
  cin >> a >> b;
  
  int c =  (a + b) / 2;
  cout << c;

  return 0;
}

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

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