#include <stdio.h>
int main()
{
    int H;
    int A;
    int remaiinder,number_of_attacks_required=0 ;
    scanf("%d %d", &H, &A);
    remaiinder= (H % A);
    
    if(A> H)
    {
        number_of_attacks_required =1;
    }
    else
    {
        if(remaiinder != 0)
        {
            number_of_attacks_required = remaiinder+1;
        }
        else
        {
            number_of_attacks_required = H/A;
        }
    }
    printf("%d",number_of_attacks_required);
    return 0;
}