a,b = map(int,input().split()) if a<0 and b<0: print(-1) elif 0