using static System.Math;
using System.Collections.Generic;
using System.Linq;
using System;

public class Hello
{
    static void Main()
    {
        string[] line = Console.ReadLine().Trim().Split(' ');
        var a = int.Parse(line[0]);
        var b = int.Parse(line[1]);
        var c = int.Parse(line[2]);
        var ans = new List<int>();
        if ((b + c) % a == 0) ans.Add((b + c) / a);
        if (c % a == 0 && c <= b) ans.Add(c / a);
        ans.Sort();
        if (ans.Count == 0) Console.WriteLine(-1);
        else Console.WriteLine(string.Join("\n", ans));
    }
}