Go: package main

import "fmt"

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

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

C++: #include<iostream>
#include<stdio.h>
#include<string>
#include<cmath>
#include<math.h>
#include<vector>
#include<algorithm>
#include<map>
#include<unordered_map>
#pragma warning(disable: 4996)
#define rep(i,n) for(int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
auto max(int a, int b) {
	if (a < b) {
		swap(a, b);
	}
	return a;
}

int g[15][15];

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

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

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

C++: #include<bits/stdc++.h>
using namespace std;
int main(){
  int a,b,money;
  cin >> a >> b;
  money = (a+b)/2;
  cout << money << endl;
  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 <iostream>
using namespace std;
int main(void){
    // Your code here!
    int a,b;
    cin>>a>>b;
    cout<<(a+b)/2<<endl;
}

C++: #include<iostream>
using namespace std;
int a, b;
int main(){
	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(){
    long long 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>  // g++ -std=c++14 -o a a.cpp

using namespace std;

typedef pair<int, int> P;
typedef long long ll;
#define rep(i, n) for(int i = 0; i < (n); i++)
#define repto(i, n) for(int i = 0; i <= (n); i++)
#define all(c) (c).begin(), (c).end()
#define uniq(c) c.erase(unique(all(c)), (c).end()) // ユニークなvectorにする。連続した値を除去して切り出す。
#define _1 first
#define _2 second
#define pb push_back
#define INF 1145141919
#define MOD 1000000007
#define DEBUG(x) cout << #x << ": " << x << endl;

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

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;

int main(){
    
    int b = 0;
    int a = 0;
    int c = 0;
    cin >> a;
    cin >> b;
    
    c = a + b/2;

    cout << c << endl;

    return 0;
}

C++: #include <cstdio>

using namespace std;

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

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

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

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<stdio.h>
int main(void)
{
	int a,b,x;
	scanf("%d %d",&a,&b);
//printf("1aaa\n");
	x=(a+b)/2;
//printf("2aaa\n");
	printf("%d\n",x);
	return 0;
}

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

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

C++: #include "stdafx.h"

#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>
#include<string>
#include<algorithm>
using namespace std;
int main(){

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

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

C++: #include <iostream>
#include <sstream>
#include <vector>
#include <string>
#include <cmath>
#include <algorithm>
#include <map>
#include <iomanip>
#include <stdio.h>

using namespace std;

//typedefリスト
typedef vector<long long int> vint;
typedef vector<vector<long long int>> vvint;
typedef vector<string> vstr;
typedef long long int llint;

llint gcd(llint x, llint y) {
	while (y != 0) {
		if (x > y) {
			llint r = x % y;
			x = y;
			y = r;
		}
		else {
			llint r = y % x;
			y = r;
		}
	}
	return x;
}

int main(void) {
	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(void){

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

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;
using uint = unsigned int;
using int64 = long long;
using i64 = int64;
using uint64 = unsigned long long;
using vint = vector<int>;
using vint64 = vector<int64>;
template<typename T>
using p_que = priority_queue<T>;
#define rep(i,N) for(int i=0;i<(int)(N);++i)
#define rep1(i,N) for(int i=1;i<=(int)(N);++i)
#define fs first
#define sc second
#define eb emplace_back
#define all(x) x.begin(),x.end()

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

template<class T> ostream& operator<<(ostream& os, const vector<T>& v) {
	os << "[";
	for (auto& e : v) os << e << ", ";
	return os << "]";
}

template<class T, class U> ostream& operator<<(ostream& os, const pair<T, U> p) {
	return os << "P(" << p.first << ", " << p.second << ")";
}

template<class T, class U> ostream& operator<<(ostream& os, const map<T, U>& mp) {
	os << "{";
	for (auto& e : mp) os << e << " ";
	return os << "}";
}

void Main();
signed main() {
	cin.tie(nullptr);
	ios::sync_with_stdio(false);
	cout << fixed << setprecision(20);
	Main();
}

/* Cut from here! */

#define int long long

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

C++: #incloude <iostream>
using namespace std;
int main(){

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

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

using namespace std;
using llong = long long;
using ldbl = long double;
using P = pair<llong, llong>;

#define ALL(x) x.begin(), x.end()

const llong inf = llong(1e18)+7;
const llong mod = 1e9+7;

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