#include using namespace std; #define int long long signed main(){ int a,b,c; cin>>a>>b>>c; vector S={}; for(int i=1;i<=1e6;i++){ int x = a*i; if(x > b) x -= b; if(x == c) S.push_back(i); } for(auto x:S) cout<