#include using namespace std; #define rep(i,n) for(ll i=0;i>A>>B>>S; if(abs(S-A)<=abs(S-B)){ cout<