#include int main(void){ int n,m; scanf("%d%d",&n,&m); if(n>m){printf("-1\n");}else{printf("1\n");} return 0; }