#include<iostream>
#include<math.h>
#include<string.h>
#include<vector>
#include<algorithm>
#include<iomanip>
#include<deque>
#include<map>
#include<stdio.h>
using namespace std;

int main(){
	cin.tie(0);
	ios::sync_with_stdio(false);
	
	int a,b,c,d;
	cin >> a >> b >> c >> d;
	int ans=0;
	while(1){
		a--;
		d-=c;
		if(ans==0 && d<0){
			cout << ans << endl;
			return 0;
		}
		ans++;
		if(a<=0 || d<=0){
			cout << ans << endl;
			break;
		}
	}
	return 0;
}