A,B,C=map(int,input().split()) ans=[] if C%A==0 and C<=B and C//A>0: ans.append(C//A) C+=B if C%A==0 and C//A>0: ans.append(C//A) if len(ans)==0: print(-1) else: ans = list(set(ans)) ans.sort() print(*ans,sep="\n")