a, b, c = map(int, input().split()) ans = [] for i in range(20001): if i * a > b: if i * a - b == c: ans.append(i) else: if i * a == c: ans.append(i) ans.sort() if not ans: print(-1) else: for e in ans: print(e)