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