A,B,C = map(int,input().split()) res = [] k = (B+A-1)//A for n in range(k,pow(10,5)+1): if n*A-B > 0 and C == n*A-B: res.append(n) if n*A-B <= 0 and C == n*A: res.append(n) res.sort() if not res: print(-1) else: for r in res: print(r)