a,b,c = gets.split.map &:to_i result = [] if c % a == 0 && c <= b then result << c / a end if (c + b) % a == 0 then result << (c + b) / a end if result.size == 0 then puts -1 else puts result end