#include #define rep(i,N) for(int i=0;i>x>>y>>z; if(min(x,y)+z>=max(x,y)){ cout<<(x+y+z)/2<