a, b, c = map(int, input().split()) d = [c + b] if c - b <= 0: d.append(c) d.sort() ans = [it // a for it in d if it % a == 0] if len(ans) == 0: ans = [-1] for ans in ans: print(ans)