#include using namespace std; #define rep(i,x,y) for(int i=x;i>X>>Y>>Z; if(X>=Y+Z) cout<=X+Z) cout<