n, m = map(int, input().split())
print(1 if n <= m else -1)