#include using namespace std; template inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template inline void chmax(T1 &a,T2 b){if(a template void drop(const T &x){cout< #include namespace mp = boost::multiprecision; using D = mp::number>; signed main(){ cin.tie(0); ios::sync_with_stdio(0); D a,b,c; cin>>a>>b>>c; if(a==0){ if(b==0 and c==0) drop(-1); if(b==0 and c!=0) drop(0); cout<<1<