import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int h = Integer.parseInt(sc.next());
    int a = Integer.parseInt(sc.next());

    int cnt = 0;
    while (h >= 0) {
      h -= a;
      ++cnt;
    }
    if (h % a == 0) {
      System.out.println(cnt - 1);
    } else {
      System.out.println(cnt);
    }
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int h = Integer.parseInt(sc.next());
    int a = Integer.parseInt(sc.next());

    int cnt = 0;
    while (h >= 0) {
      h -= a;
      ++cnt;
    }
    if (h % a == 0) {
      System.out.println(cnt - 1);
    } else {
      System.out.println(cnt);
    }
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int h = Integer.parseInt(sc.next());
    int a = Integer.parseInt(sc.next());

    int cnt = 0;
    while (h >= 0) {
      h -= a;
      ++cnt;
    }
    if (h % a == 0) {
      System.out.println(cnt - 1);
    } else {
      System.out.println(cnt);
    }
  } main {
    Scanner sc = new Scanner(System.in);
    int h = Integer.parseInt(sc.next());
    int a = Integer.parseInt(sc.next());

    int cnt = 0;
    while (h >= 0) {
      h -= a;
      ++cnt;
    }
    if (h % a == 0) {
      System.out.println(cnt - 1);
    } else {
      System.out.println(cnt);
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int h = Integer.parseInt(sc.next()); h Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int a = Integer.parseInt(sc.next()); a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int cnt = 0; cnt 0 while (h >= 0) {
      h -= a;
      ++cnt;
    } h >= 0 h 0 {
      h -= a;
      ++cnt;
    } h -= a h a ++cnt cnt if (h % a == 0) {
      System.out.println(cnt - 1);
    } else {
      System.out.println(cnt);
    } h % a == 0 h % a h a 0 {
      System.out.println(cnt - 1);
    } System.out.println(cnt - 1) System.out.println System.out System System.out cnt - 1 cnt 1 {
      System.out.println(cnt);
    } System.out.println(cnt) System.out.println System.out System System.out cnt String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int h = Integer.parseInt(sc.next());
    int a = Integer.parseInt(sc.next());

    int cnt = 0;
    while (h >= 0) {
      h -= a;
      ++cnt;
    }
    if (h % a == 0) {
      System.out.println(cnt - 1);
    } else {
      System.out.println(cnt);
    }
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int h = Integer.parseInt(sc.next());
    int a = Integer.parseInt(sc.next());

    int cnt = 0;
    while (h >= 0) {
      h -= a;
      ++cnt;
    }
    if (h % a == 0) {
      System.out.println(cnt - 1);
    } else {
      System.out.println(cnt);
    }
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int h = Integer.parseInt(sc.next());
    int a = Integer.parseInt(sc.next());

    int cnt = 0;
    while (h >= 0) {
      h -= a;
      ++cnt;
    }
    if (h % a == 0) {
      System.out.println(cnt - 1);
    } else {
      System.out.println(cnt);
    }
  }
}
