#include using namespace std; int main() { int a,b,c,d; cin>>a>>b>>c>>d; for(int i=d;i>=0;i--){ if((i+c*i)<=d){ cout<