#include <stdio.h>

int NumberOfAttacks(unsigned short H,unsigned short A)
{
    int number_of_attacks_required=0 ;
    
    if((H > 0) && (H <= 10000) && (A > 0) && (A <= 10000))
    {
        while((H > 0) && (H <= 10000))
        {
            H = H - A;
            number_of_attacks_required++;
        }
        return number_of_attacks_required;
    }
    else
    {
        return 0;
    }
}
int main()
{
    unsigned short H;
    unsigned short A;
    scanf("%d %d", &H, &A);
    printf("%d",NumberOfAttacks(H, A));
    return 0;
}