A, B, C = map(int, input().split()) result = [] f = B // A t = (C + B) // A if t > f and t > 0: result.append(t) t = C // A if t <= f and t > 0: result.append(t) if len(result) != 0: result.sort(reverse=True) for r in result: print(r) else: print("-1")