#include <stdio.h>

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