#include using namespace std; typedef long long ll; int main() { int n, m; cin >> n >> m; if (m >= n) cout << 1 << endl; else cout << -1 << endl; }