int H,A;
scanf("%d %d", &a[0], &a[1]);
int number_of_attacks_required=0 ;
    H = a[0];
     A= a[1];
    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;
    }