def main(): a, b, c = map(int, input().split()) z = [b+c] if c <= b: z.append(c) z = [i//a for i in z if i % a == 0] if not z: z = [-1] for i in z: print(i) if __name__ == '__main__': main()