import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		//入力A(モンスター体力)
		int a = sc.nextInt();

		//入力B(サーバルの攻撃値)
		int b = sc.nextInt();

		int attacked = 0;

		//モンスターの体力を0以下にする
		for (int i = 1; a > 0; i++) {

			a = a - b;

			attacked = i;
		}

		System.out.println(attacked);

	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		//入力A(モンスター体力)
		int a = sc.nextInt();

		//入力B(サーバルの攻撃値)
		int b = sc.nextInt();

		int attacked = 0;

		//モンスターの体力を0以下にする
		for (int i = 1; a > 0; i++) {

			a = a - b;

			attacked = i;
		}

		System.out.println(attacked);

	}
} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		//入力A(モンスター体力)
		int a = sc.nextInt();

		//入力B(サーバルの攻撃値)
		int b = sc.nextInt();

		int attacked = 0;

		//モンスターの体力を0以下にする
		for (int i = 1; a > 0; i++) {

			a = a - b;

			attacked = i;
		}

		System.out.println(attacked);

	} main {

		Scanner sc = new Scanner(System.in);

		//入力A(モンスター体力)
		int a = sc.nextInt();

		//入力B(サーバルの攻撃値)
		int b = sc.nextInt();

		int attacked = 0;

		//モンスターの体力を0以下にする
		for (int i = 1; a > 0; i++) {

			a = a - b;

			attacked = i;
		}

		System.out.println(attacked);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int attacked = 0; attacked 0 for (int i = 1; a > 0; i++) {

			a = a - b;

			attacked = i;
		} int i = 1; int i = 1; i 1 a > 0 a 0 i++ i++ i {

			a = a - b;

			attacked = i;
		} {

			a = a - b;

			attacked = i;
		} a = a - b a a - b a b attacked = i attacked i System.out.println(attacked) System.out.println System.out System System.out attacked String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		//入力A(モンスター体力)
		int a = sc.nextInt();

		//入力B(サーバルの攻撃値)
		int b = sc.nextInt();

		int attacked = 0;

		//モンスターの体力を0以下にする
		for (int i = 1; a > 0; i++) {

			a = a - b;

			attacked = i;
		}

		System.out.println(attacked);

	}
} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		//入力A(モンスター体力)
		int a = sc.nextInt();

		//入力B(サーバルの攻撃値)
		int b = sc.nextInt();

		int attacked = 0;

		//モンスターの体力を0以下にする
		for (int i = 1; a > 0; i++) {

			a = a - b;

			attacked = i;
		}

		System.out.println(attacked);

	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		//入力A(モンスター体力)
		int a = sc.nextInt();

		//入力B(サーバルの攻撃値)
		int b = sc.nextInt();

		int attacked = 0;

		//モンスターの体力を0以下にする
		for (int i = 1; a > 0; i++) {

			a = a - b;

			attacked = i;
		}

		System.out.println(attacked);

	}
}
