# coding: utf-8 # Here your code ! x,y=[int(i) for i in input().split()] if x <= y: print(1) else: print(-1)