#include int main(){ long n,m; scanf("%ld %ld",&n,&m); if(n<=m) printf("1\n"); else printf("-1\n"); return 0; }