#include <stdio.h>

void 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++;
        }
        printf("Number of attacks required : %d",number_of_attacks_required);
    }
    else
    {
        printf("Numbers are out of Constraints");
    }
}


int main()
{
    unsigned short a[2];
    printf("numbers:");
    scanf("%d %d", &a[0], &a[1]);
    NumberOfAttacks(a[0], a[1]);
    return 0;
}