#include using namespace std; typedef signed long long ll; #undef _P #define _P(...) (void)printf(__VA_ARGS__) #define FOR(x,to) for(x=0;x=v) left+=(V[0]-v)/2; if(V[1]>=v) left+=(V[1]-v)/2; if(V[2]>=v) left+=(V[2]-v)/2; if(V[0]=hu; } void solve() { int i,j,k,l,r,x,y; string s; cin>>V[0]>>V[1]>>V[2]; ll ret=0; for(i=40;i>=0;i--) if(ok(ret+(1LL<