a, b, c = map(int, input().split()) def f(n, a, b, c): return a*n - b*(a*n > b) - c ans = [] for i in range(1, int((c+b)/a)+1): if f(i, a, b, c) == 0: ans.append(i) if len(ans) == 0: print(-1) else: for i in ans: print(i)