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