A,B,C = map(int,input().split()) res = [] if (B+C)%A == 0 and (B+C)//A > B/A: res.append((B+C)//A) if C%A == 0 and C//A <= B/A: res.append(C//A) res.sort() if not res: print(-1) else: for r in res: print(r)