#include<bits/stdc++.h>
using namespace std;
int main(){
	int m,n;
	cin>>m>>n; 
	if(m%n==0){
		cout<<m/n;
	}else{
		cout<<m/n+1;
	}
}
/**************************************************************
	Problem: 1030
	User: wangyiyang
	Language: C++
	Result: Accepted
	Time:11 ms
	Memory:2072 kb
****************************************************************/