a,b,c = map(int, input().split()) ans = [i for i in [(b + c) // a, c // a] if i > 0] if len(ans) > 0: ans.sort() print("\n".join([str(i) for i in ans])) else: print(-1)