A, B, C = map(int, input().split()) ans = [] N = 1 while True: AN = A * N if (AN > B and AN - B == C) or (AN <= B and AN == C): ans.append(N) if AN - B > C: break N += 1 ans.sort() if not size(ans): print(-1) else: for n in ans: print(n)