#include using namespace std; typedef long long ll; typedef pair P; #define REP(i,n) for(ll i=0;i> a >> b >> c; for(j=max(a+1,llabs(b-c));j=2*b*j) continue; for(i=1;i+a