#include using namespace std; int main(){ int x,y,z; cin>>x>>y>>z; cout <<(x+y+z)/2<