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