#include using namespace std; #define rep(i,n) for (int i=0;i<(int)(n);i++) #define all(v) v.begin(),v.end() using ll=long long; using pll=pair; using tll=tuple; const ll INF=(1ll<<60); template void chmin(T &a,T b){ if(a>b){ a=b; } } template void chmax(T &a,T b){ if(a> a >> b >> c; vector ans; for(ll i=max(1ll,c-100);i<=b+c+100;i++){ if(i*a-b<=0){ if(i*a==c) ans.push_back(i); }else{ if(i*a-b==c) ans.push_back(i); } } if(ans.size()==0){ cout << -1 << endl; }else{ for(auto &i:ans) cout << i << endl; } }