a, b ,c = map(int, input().split()) ans = [] n = 1 while True: m = n * a k = m - b if k > c: break else: if k <= 0: if m == c: ans.append(n) else: if k == c: ans.append(n) n += 1 if len(ans) == 0: print(-1) else: print(*ans, sep='\n')