#include #include #include #include #include #include #define MP make_pair using ll = long long; using namespace std; int main() { int n,m; cin >> n >> m; m = max(n,m); if(n <= m) cout << 1 << endl; else cout << -1 << endl; return 0; }