#include <iostream>                                                                                                                                                                                  
#include <sstream>                                                                                                                                                                                   
#include <fstream>                                                                                                                                                                                   
#include <string>                                                                                                                                                                                    
#include <vector>                                                                                                                                                                                    
#include <deque>                                                                                                                                                                                     
#include <queue>                                                                                                                                                                                     
#include <stack>                                                                                                                                                                                     
#include <set>                                                                                                                                                                                       
#include <map>                                                                                                                                                                                       
#include <algorithm>                                                                                                                                                                                 
#include <functional>                                                                                                                                                                                
#include <utility>                                                                                                                                                                                   
#include <bitset>                                                                                                                                                                                    
#include <cmath>                                                                                                                                                                                     
#include <cstdlib>                                                                                                                                                                                   
#include <ctime>                                                                                                                                                                                     
#include <cstdio>                                                                                                                                                                                    
                                                                                                                                                                                                     
using namespace std;                                                                                                                                                                                 
                                                                                                                                                                                                     
typedef pair<int, int> P;                                                                                                                                                                            
int X,Y;                                                                                                                                                                                             
                                                                                                                                                                                                     
int solve() {                                                                                                                                                                                        
  scanf("%d %d", &X, &Y);                                                                                                                                                                            
  int ans  = (X + (Y / 2));                                                                                                                                                                          
  printf("%d\n", ans);                                                                                                                                                                               
}                                                                                                                                                                                                    
                                                                                                                                                                                                     
int main(int args, char* argv[]) {                                                                                                                                                                   
  solve();                                                                                                                                                                                           
}

Measured memory_bytes: 256