#include <stdio.h>
int main()
{
    scanf("%d %d", &a[0], &a[1]);
    int number_of_attacks_required=0 ;
    while(a[0] > 0)
    {
       a[0] = a[0] - a[1];
        number_of_attacks_required++;
    }
    return number_of_attacks_required;
}