import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int h = sc.nextInt();
    int a = sc.nextInt();
    int sum = 0;
    while (true) {
      h = h - a;
      sum++;
      if (h <= 0) {
        break;
      }
    }
    System.out.println(sum);
  }
} import java.util.*; util.* java class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int h = sc.nextInt();
    int a = sc.nextInt();
    int sum = 0;
    while (true) {
      h = h - a;
      sum++;
      if (h <= 0) {
        break;
      }
    }
    System.out.println(sum);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int h = sc.nextInt();
    int a = sc.nextInt();
    int sum = 0;
    while (true) {
      h = h - a;
      sum++;
      if (h <= 0) {
        break;
      }
    }
    System.out.println(sum);
  } main {
    Scanner sc = new Scanner(System.in);
    int h = sc.nextInt();
    int a = sc.nextInt();
    int sum = 0;
    while (true) {
      h = h - a;
      sum++;
      if (h <= 0) {
        break;
      }
    }
    System.out.println(sum);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int sum = 0; sum 0 while (true) {
      h = h - a;
      sum++;
      if (h <= 0) {
        break;
      }
    } true {
      h = h - a;
      sum++;
      if (h <= 0) {
        break;
      }
    } h = h - a h h - a h a sum++ sum if (h <= 0) {
        break;
      } h <= 0 h 0 {
        break;
      } break; System.out.println(sum) System.out.println System.out System System.out sum String[] args args
import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int h = sc.nextInt();
    int a = sc.nextInt();
    int sum = 0;
    while (true) {
      h = h - a;
      sum++;
      if (h <= 0) {
        break;
      }
    }
    System.out.println(sum);
  }
}