#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: wengzihang
	Language: C++
	Result: Accepted
	Time:8 ms
	Memory:2072 kb
****************************************************************/