a,b,c = map(int,input().split()) ans = [] for i in range(10**6): if i * a == c and i*a <= b: ans.append(i) if i*a -b == c: ans.append(i) if ans: for i in ans: print(i) else: print(-1)