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