#include #include #include using namespace std; using ll=long long; const ll LNF=1e18; const int INF = 1e9+1; const ll M = 1e9+7; typedef pair P; int main() { ll a,b; cin>>a>>b; if (b==0) { cout<<1<0) { cout<<-1<